Page 1 of 1

[Query] PHP MVC framework

Posted: Thu Jun 21, 2007 11:46 am
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...........

Posted: Thu Jun 21, 2007 9:03 pm
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

Posted: Fri Jun 22, 2007 6:53 am
by acidHL
I use Codeigniter a lot and have nothing bad to say. :D

Posted: Fri Jun 22, 2007 10:25 am
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.

Posted: Fri Jun 22, 2007 6:26 pm
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

Posted: Fri Jun 29, 2007 10:45 am
by harsha
But again the license covering the framework code is is unknown to me; I use only GPL compatible license.

Posted: Fri Jun 29, 2007 5:14 pm
by feyd

Posted: Fri Jun 29, 2007 6:13 pm
by Ambush Commander
I wonder why they decided to roll their own license.