Skip to main content

Open source PHP frameworks and problems

I was using CakePHP for sometime and proposed CakePlus, another UIMS toolkit on the top of CakePHP but also altering some problematic core of it. The thread should explain the outcome of the post. And, then I noted Akelos framework has most of the things built in.

Issues with frameworks esp. CakePHP



  • Scalability not a priority - Developers aren't aware that we can't throw more and more hardware

  • Excessive use of regular expressions

  • Evangelist isn't aware that the framework throws many queries unnecessarily

  • More memory consumption - 100M would never be enough for a simple project

  • Poor coding standards and practices - Prolong use of extract() often leads to more memory consumption

  • Can't use the native approaches or baked codes. The override approach always lead to hard to debug codes

  • Poor architected codes and no clear defined approaches. People belong to the cult drives the direction and often throws unprofiled codes. No native provision to share codes between M-V-C and no distinction between "libs" and "vendors".

  • Overlooked wrappers

  • Community - Only few are educated, majority overlook the common application features, some freelancers use it for networking and sycophancy to get jobs

  • Not actually open source



Update (2008-09-01): Follow-up

Comments

Unknown said…
Hold on there...how can you say that CakePHP is not Open Source? The source code is made freely available to anyone who wants it.

It seems to me that your real issue is that there is not unfettered commit access to the main repository for the project. This is true, but that does not mean that CakePHP is not Open Source.

I would love to see an example of an Open Source project that allows *anyone* to commit source code to the main repository that the project uses.

Note that I said MAIN REPOSITORY. I am well aware of how Linux kernel development uses Git.
Unknown said…
A suggestion...

When making statements like these you may want to give reasons and examples... otherwise it sounds like you're just bitching.

Most of what you are complaining about is typical of almost any open source project... someone has to maintain a common vision for the project. If you don't like the way they do things, fork the source code and make your own. If enough people like what you are doing the features will find their way back into the main branch.
Anonymous said…
Mozilla is able to serve up 4 million page views daily with CakePHP ( addons.mozilla.org ). I use CakePHP all the time and have not had problems scaling. I'd be impressed to see a web application built that can't use CakePHP because it is too big. Plus, if you have that big of an application than you should be able to afford the necessary hardware.
Bottom line is that cake saves money and development time.
Jeff Loiselle said…
Wow, you are a self-claiming PHP saint? You just sounds like a jackass.

CakePHP is open source. It's certainly faster than writing my own framework. Anything I don't like, I modify because I'm not an idiot. I am certainly not a poster boy. I use whatever technology I can to get the job done. And since it's open source, if it doesn't get the job done itself, I make it happen.

That's what makes me a programmer and you a complaining idiot.
Anonymous said…
cakephp IS open source.

about the community, everyone wants to help each other and its more active than others.

scaling cant be a issue with cakephp. otherwise mozilla addons site would have crashed long since.

very few frameworks have been able to maintain the quality cakephp has even with php4. thus giving developers more flexibility.
mbavio said…
Just FUD shit!

Popular posts from this blog

BehaviorS.js - An alternative to Behaviour.js, event:Selectors and Low Pro libs for unobtrusive JavaScript programming

BehaviorS.js yet another unobtrusive JavaScript library similar to Behaviour.js and event:Selectors but in implementation uses hash based lookup without extending elements; so presumably it should be faster than the rest. The original script and idea was by JLof ; I extended it for DOMContentLoaded support, optimized a bit to avoid scanning of more depths, and added new rules support. I wanted to document the plug a long time and just got time to do it. For the time being BehaviorS.js is available here Update (2006-09-11) : Coralized the link to BehaviorS.js so as to save the load on free brinkster.com webpage Update (2006-09-27) : If the coralized link to BehaviorS.js doesn't work, use http://www21.brinkster.com/guideme/BehaviorS/

Interview question #1

Since I have been asked to interview experienced PHP programmers, I was preparing few interview questions. I came to know, most of the people ask questions found in the Internet; most of them are like "What is the function used to connect MySQL DB in PHP". Personally, I don't like these types of questions; I'd thought the person must apply ideas what he was taught in colleges--finally I came out with one question: A product vendor has Quantity Vs. Price data like 1 -> Rs. 50 2 -> Rs. 95 3 -> Rs. 140 .... like upto 1 million data. He wants a system, which gives the price when the quantity is provided. For example, if you provide the quantity value as 2, then it should provide Rs. 95. How this system can be designed? As expected, all the people said about using database tables and quering on quantity. I have asked them to find out a system which doesn't use databases--provided the accuracy of the system may not be 100%--it may give at least 90% ac...

htmlspecialchars() bug in blogger.com

Found a strange htmlspecialchars() bug in blogger.com The title of my blog is <?php echo 'R. Rajesh Jeba Anbiah'; ?> , but blogger.com doesn't convert the html entities in the title when it spits out. Because of this bug, the title doesn't appear in my blog--browser just treats it as a broken html tag. This bug could have been fixed by using htmlspecialchars() , if it's powered by PHP . Also, noticed that this compose box eats any texts entered such. I gonna report this bug.