[Query] PHP MVC framework

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
User avatar
harsha
Forum Contributor
Posts: 103
Joined: Thu Jul 11, 2002 1:35 am
Location: Bengaluru (Bangalore) > Karnataka > India

[Query] PHP MVC framework

Post by harsha »

All

was just trying to find a PHP based web framework;

(sorry to say this) => I was very much impressed by Perl catalyst framework (http://catalystframework.org)

I was searching for a PHP based MVC webframework which is similar to catalyst

:cry: Unfortunately, I din;t find one, I was not able to make a quick chioce;

I wanted to reuse the existing template library {Smarty}, none of PHP webframework offered direct/simple ways of using smarty

Here is the list:

http://www.phpmvc.net/docs/guides/guide ... hpmvc-tags

next comes zend framework:

first line that appeared to me in the site was:

Zend Framework’s View class has very bad capability for extending. It contains template variables but does not allow to access them

http://kpumuk.info/php/zend-framework-u ... ate-engine


Cake PHP and symfony:

I can see lots of <??> tags in the view layer

http://manual.cakephp.org/chapter/views
http://www.symfony-project.com/book/tru ... View-Layer

All I just want was:

I wanted to reuse the existing PEAR libraries
Use smarty for templating/in the View layer of my MVC Application

Additionally:
few helper scripts that can automate creating the folder structure and source files for my MVC application.

I am badly addicted to comfort that lies using php; at the same time don't want to compromise with what it does not have.

still searching for one in the web hyperspace...........
Begby
Forum Regular
Posts: 575
Joined: Wed Dec 13, 2006 10:28 am

Post by Begby »

For now try sticking with Zend until at some point they hopefully sort out their less than stellar View system. However, their framework is very extensible.

Here is a tutorial on extending the view interface in Zend to support smarty in a much better way than the site you linked to. The article you referred to was a bit old and Zend Framework has changed a lot since then.

Here is page in the ZF framework that shows you how to create a smarty view by implementing the zend view interface.

http://framework.zend.com/manual/en/zen ... .templates
acidHL
Forum Commoner
Posts: 41
Joined: Wed Dec 07, 2005 7:38 am

Post by acidHL »

I use Codeigniter a lot and have nothing bad to say. :D
staar2
Forum Commoner
Posts: 83
Joined: Fri Apr 06, 2007 2:57 am

Post by staar2 »

acidHL wrote:I use Codeigniter a lot and have nothing bad to say. :D
Yea i used that to, but now i try to write without framework.
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

acidHL wrote:I use Codeigniter a lot and have nothing bad to say. :D
Awesome! I just took a closer look at it. It's exactly what I was looking for. :D
User avatar
harsha
Forum Contributor
Posts: 103
Joined: Thu Jul 11, 2002 1:35 am
Location: Bengaluru (Bangalore) > Karnataka > India

Post by harsha »

But again the license covering the framework code is is unknown to me; I use only GPL compatible license.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

I wonder why they decided to roll their own license.
Post Reply