 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
PHPImpact Blog: Loading models within modules in the Zend Framework
by Chris Cornutt August 13, 2008 @ 07:56:16
On the PHP::Impact blog today Federico takes a look at the history of using models in components within the Zend Framework:
More and more users are finding it difficult to load models within Zend Framework modules. This is strange, considering that modularity is an important design principle and its goal is to design systems that are easier to extend, understand, design and manage.
He brings in quotes and examples from different developers' blogs talking about their use and brings it up to the present day with an example of using a Zend_Module_Front controller with a Zend_Module_Action in a simple example of a module-specifc method for using a model.
voice your opinion now!
module model zendframework load example history
PHPImpact Blog: Zend_Form Performance Issues
by Chris Cornutt July 07, 2008 @ 10:21:14
On the PHP::Impact blog, there's a new post mentioning some of the problems that he (Federico) has run into when his Zend_Form forms got larger and larger - performance.
If you are using Zend_Form and your site increases in complexity and attracts more traffic, you are most likely to run into performance problems. Of course, bigger and more complex projects result in more load on your servers. [...] In this post I'll explain the problems I faced when using Zend_Form and how I managed to optimize it and improve the performance of my application.
He ran a few tests against his code and found out that one of the biggest causes of overhead was the many calls to other components in the framework to handle different parts of the output. His solution was to modify the Zend_Form_Elements component to check for dependencies before the form is executed. Pre-loading like this prevents the high-overhead (and repetitive) dynamic loading later on.
voice your opinion now!
zendframework component form zendform performance issue load
Stefan Mischook's Blog: Does Wordpress 2.5.1 suck?
by Chris Cornutt June 04, 2008 @ 12:08:12
On the KillerPHP blog today, Stefan Mischook comments on whether or not WordPress version 2.5.1 "sucks".
I just recently installed the this latest version of Wordpress (2.5.1) and quickly found it hanging (while trying to load a page) for as long as 40-50 seconds! I then proceeded to isolate the potential causes (database, custom fields, custom theme) and have since found out that something stinks in 2.5.1's core.
He details some of the steps he took to try to track down the bug - installing on another server, searching the web for others with the same issue. His suggestion?
Before you upgrade your old working installation of Wordpress, I would suggest that you test 2.5.1 in some other directory just to be sure it works with your server.
voice your opinion now!
wordpress problem error page hang load
Michael Girouard's Blog: Rolling Your Own MVC The Page Load Scenario
by Chris Cornutt April 09, 2008 @ 15:33:45
Michael Girouard has posted his 10,00 foot view of the typical structure of an Model/View/Controller application (and framework) and how a page request is handled:
In my previous article, I announced that I would be documenting the process of developing a simple MVC framework. In this post I will go into a little more detail about each of the specific components of our MVC and will discuss the series of events which occur each time a page loads, otherwise known as the page load scenario.
He talks about how URIs work, the role of mod_rewrite, several of the objects involved (like the Front Controller, Request, Route and View) and how they all fit in with the custom Models, Views and Controllers the user could define.
voice your opinion now!
modelviewcontroller mvc page load object route request
WebPerformance.com: Load Testing SugarCRM and the Zend Optimizer
by Chris Cornutt November 14, 2007 @ 15:16:00
Chris Merrill has written up a case study measuring the load handling abilities of the Zend Optimizer with a default application - in this case, SugarCRM.
This article measures the performance impact of the Zend Optimizer on a real-world processor-bound PHP application (SugarCRM) under load. Our measure of performance is user capacity. We define that as the number of simultaneous users that the system can support while meeting the specified performance criteria. The performance criteria for this test require that all pages load within 6 seconds and no errors are encountered in the application.
The process is broken out into a few different sections including the methodology he used (including the software list, hardware used and configurations of both) and the results/analysis from running the test requests (such as page duration and server process use).
voice your opinion now!
load test zendoptimizer performance sugarcrm load test zendoptimizer performance sugarcrm
Stubbles Blog: Loading classes from the XP-Framework
by Chris Cornutt April 09, 2007 @ 12:22:00
On the Stubbles blog, there's a new post that describes how to load in classes from the XP-Framework into the Stubbles framework.
The following little example uses a so called foreign class loader that is responsible for a given namespace, in this case net.xp_framework. This class loader is registered within the default Stubbles class loader. After that, all classes that reside in the namespace where the foreign class loader is responsible for will be loaded via this class loader.
The method they use is simple - seven lines of code simple. It loads in the class file using the load() functionality of the Stubbles framework making it so it can be called natively after creating an object for it.
voice your opinion now!
xpframework load class module native object xpframework load class module native object
|
Community Events
Don't see your event here? Let us know!
|