 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
PHPImpact Blog: Scalable and Flexible Directory Structure for Web Applications
by Chris Cornutt August 11, 2008 @ 11:17:30
In this new post on the PHP::Impact blog, Federico looks at some examples of directory setups for web apps that can help to make them both scalable and flexible.
Designing a modular and component-based directory structure for your Web applications can seem like an easy task. If your system is small, it may seem logical to go with the simplest design possible, but if there's anything more time consuming and complex than developing a new directory structure design, it's trying to redesign an existing system that wasn't developed with growth in mind.
He breaks it up into a few different topics that can be applied where needed to keep the application in check:
- Consistency
- Scalability and Flexibility
- Single Application
- Multi-application
- Naming Conventions
- Versioning
- Proposed Structure
voice your opinion now!
scalable application flexible directory structure
Harry Roberts' Blog: Flexible PHP Interfaces
by Chris Cornutt June 11, 2008 @ 13:40:10
In an effort to breathe as much life into an old bit of software he was having to update, Harry Roberts worked up a list of things that he sees can make things a bit more "programmer friendly" when it comes to using classes, methods and interfaces in your code.
His list of four is:
- Doc Comments
- Flexible Parameters
- Use method Entry contracts
- Be Stateful and Refactor
The "Doc Comments" is pretty obvious, but some of the others need a bit more explaining. Being flexible with your parameters is more about requiring the least from a developer, "entry contracts" being the restrictions to let the developer know what you're expecting and refactoring commonly used functionality into a easy, single point of contact.
voice your opinion now!
flexible interface comments parameters entry contracts stateful refactor
SitePoint PHP Blog: Last we checked, PHP IS a framework.
by Chris Cornutt June 09, 2008 @ 09:33:27
According to Akash Mehta in this new post on the SitePoint PHP blog, all of the frameworks out there aren't really needed because "last we checked, PHP IS a framework".
Now, consider the "average" PHP frameworks. They help you handle request data, manage your output, control app flow - essentially, extending PHP's inbuilt functionality. They are, therefore, PHP frameworks on the PHP framework. PHP provides a vast array (pardon the pun) of functionality out of the box. But when you want to do things your way, it gets out of the way, and this is really important when building anything beyond a simple database frontend.
He suggests that PHP is a "half framework" on its own, providing quick an easy methods and functionality to build up applications. He gives an example of Twitter (and really, who isn't picking on them these days) and how it probably could have avoided a lot of the issues it is seeing if it had gone with something a bit more efficient and flexible.
Be sure to check out the comments for some other great opinions from the community.
voice your opinion now!
framework language twitter efficient flexible
Blogge: Things You Must Know About CakePHP
by Chris Cornutt July 23, 2007 @ 12:52:00
On the Blogge site, there's a listing of "must knows" that developers should understand about the CakePHP framework when working with it.
CakePHP is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.
Among those on the list of handy tips for using the framework are things like:
- Static pages - Adjusting other data sent to the layout
- Viewing the SQL queries that are running behind the scenes
- Using bake.php
- Complex model validation
- Creating a model for a table that doesn't actually exist in the database
- Inserting multiple rows in succession
voice your opinion now!
cakephp framework tip trick rapid development flexible cakephp framework tip trick rapid development flexible
WebProNews.com: In Praise Of PHP
by Chris Cornutt June 13, 2006 @ 05:57:07
In this article on WebProNews, Andreas Roell praises PHP, nothing several strengths and its flexibility while the fact that it's kept its reliability over time.
PHP has been able to stand its ground as a consistently implemented server-side scripting language. PHP is a general-purpose scripting language that is ideally suited for web developers, and can be easily embedded into HTML.
He mentions the advantage it has of being Open Source as well as flexible enough to run on just about anything out there. PHP can be more cost-efficient than other solutions and, since it is Open Source, you're not left waiting for a company to release their next patch when they feel like it (fix it yourself!). And, of course, what would an article singing the praises of PHP be without a brief mention of its competitor, ASP.
voice your opinion now!
php praise open source cost-efficient asp flexible php praise open source cost-efficient asp flexible
|
Community Events
Don't see your event here? Let us know!
|