 | News Feed |
Sections
|
| feed this: |  |
Ibuildings Blog: PHP Belgium meeting
by Chris Cornutt August 26, 2008 @ 12:57:18
If you live in Belgium and have been thinking about attending one of the PHPBelgium meetings but aren't sure what they'd be like, check out this post from Marc Veldman on the Ibuildings blog for a sneak peek.
Last week the Belgian PHP User group held their second meeting. Because the venue was fairly close to our office in Vlissingen, some of us decided to have a look. We were early, so there weren't many people yet, but soon the room began to fill up and in the end there were a little over 30 people. Not bad, given that this was only the second meeting.
Talks given covered methods for improving your PHP development (best practices) and a look at the Zend Framework. There were even raffles for fabulous prizes (like copies of "Enterprise PHP Development", elePHPants and a ticket to attend ZendCon this year). Check out the group's website for more information on the next meeting and other bits of info.
voice your opinion now!
phpbelgium meeting usergroup improve development zendframework
Arnold Daniels' Blog: Improve performace check your loops
by Chris Cornutt January 28, 2008 @ 12:14:00
Arnold Daniels has a suggestion for developers out there to help improve the performance of their applications - check your loops.
So you have a script which is not performing the way you want to. The first thing you should do it try to find out what the problem is. There are some tools out there that can help you.
He mentions the profiler in Zend Studio as well as the one in XDebug. If you can't install those, however, he has another suggestion - FirePHP (a tool that can help time execution times in a simple and easy to include way.
With tools in hand, he offers a few suggestions as to what to check for and do in your applications:
- Get the data ready before going into the loop
- Don't do things in the loop, you can also do outside it
- Use create_function to aid you
- Be careful with abstraction in loops
- Sometimes you can prevent loops altogether
- Last resort: write an extension
voice your opinion now!
performance improve loop profile zendstudio firephp xdebug tips
Richard Thomas' Blog: Improving PHP Sessions
by Chris Cornutt July 23, 2007 @ 09:35:00
Richard Thomas has shared some suggestions on improving the performance and use of PHP's built-in sessions in your site:
If your developing a new website and want to ensure its scalable sessions can be a sticking point. [...] There are a couple problems you may run into with this approach and most database driven examples you may use to base your session code off.
These problems can pretty much be summarized into a single sentence: Every single page load your database is going to be hit at least 2 times, first to read the session data and then session to rewrite all that data.
He includes three suggestions:
- Hash your data when pulled from the DB, if your data hasn't changed don't bother updating
- Figure out what your margin of error is for how long a session has been inactive (don't update if you don't need to)
- Use memcache in conjunction with your database, Check memcache first if its there, if it is use memcache, if its not pull from DB and shove into memcache when you DO update your data update memcache at the same time.
voice your opinion now!
session improve database problem suggestion memcache session improve database problem suggestion memcache
Greg Beaver's Blog: Is anything working in PEAR?
by Chris Cornutt May 07, 2007 @ 16:07:00
In response to an earlier blog post from another member of the PHP community, Greg Beaver has posted a few thoughts he's had on sharing what's really going on with the PEAR project.
Newly elected PEAR Group member Josh Eichorn posted a blog entry, "How would you improve PEAR" recently. I was impressed with the response, it seems many people outside of PEAR are monitoring it and have thought about how to make it better. However, I was also not so impressed with the poor job we've done letting people know about the newest improvements to PEAR. In my comments, I listed as many as I could think of, but Josh pointed out that I would do well to post these comments in a more public setting, so here goes.
He notes that most of the items mentioned in the comments of Joshua's post are already implemented, save for one - CVS over Subversion. He also shares his renewed obligation of working on the social issues surrounding the project and the efforts that the project is doing to help current developers (stable works the same) and development (get involved! get active!).
voice your opinion now!
pear project social issue comment improve public pear project social issue comment improve public
|
Community Events
Don't see your event here? Let us know!
|