 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Gaylord Aulke's Blog: PHP vs. Java
by Chris Cornutt May 19, 2008 @ 12:57:56
In a new post to his blog Gaylord Aulke talks about some of the "soft facts" that make PHP different from Java:
Besides the usual aspects: scripting vs. compiled and in-process vs. seperate process and Multithreading etc., i think there are some "soft facts" that might be even more important for commercial software development.
He points out things like differences in object lifetimes, defined structures in applications and the "not invented here" syndrome that he thinks PHP suffers more from.
Anyway, the result is: Even though there are not so many standards in the PHP world, successful developers have a common understanding about the do's and don'ts in PHP. [...] PHP appears more predictable than other programming languages.
voice your opinion now!
java compare language object lifetime notinventedhere standards
DevShed: Standards-compliant Link Targets with Wordpress
by Chris Cornutt December 19, 2007 @ 11:15:00
A new tutorial on DevShed today shows how to work with WordPress (a popular PHP-based blogging tool) to improve the search engine optimization (SEO) of the site you have running it.
I ran into an issue on one of my own Wordpress sites the other day, so I decided to share with you my solution. What happened was I added an SEO modification to my site that finds all external links in my page and adds a rel="nofollow" attribute to them. However, I also like to target my external links to new windows, but the target attribute for the "a" tag has been depreciated and will not validate under XHTML strict.
His method of choice turned out to be a Javascript that would run through the links, looking for outbound ones, and dynamically add in the nofollow attribute when it finds one. Complete code is included ot show you how it's done.
voice your opinion now!
wordpress standards compliant link seo nofollow wordpress standards compliant link seo nofollow
Alan Knowles' Blog: Code Reviewing.
by Chris Cornutt August 21, 2006 @ 07:56:39
In a great new post from Alan Knowles he takes a look at code reviewing, specificaly in a PHP environment.
He breaks the post up into phases (one through four) with the steps outlined along the way (including the "oh sh*t, it's getting urgent, we better fix the delivered code and make it work well enough for the client to start testing" phase). Phase four is the largest, being the bug finding and fixing stage, some of the more intensive (and sometimes numbing) times of development.
He also includes a good, long list of some of the codeing standards he's accumulated over time, including:
- Not creating PHP includes with functions in them!
- Never hard code email subjects etc. in code, use templates.
- Not using libraries that where not specified.. or using non-PEAR libraries when PEAR ones are available...
- Everything extends the base class, even code run via cron jobs.
He also talks about using print rather than echo, exiting on XMLHttpRequest calls, shortcuts in Javascript, and cloning dataobject arrays over creating simple structs.
voice your opinion now!
code review phase coding standards list mistakes code review phase coding standards list mistakes
Robert Peake's Blog: GTD Connect
by Chris Cornutt August 15, 2006 @ 08:21:58
It's always good to finish a rather large project, and Robert Peake shares his joy in this new post on his blog nothing that not only is the project off and running, but it was all created based on a best practices/standards-based approach with respect to PHP development.
I spent over 18 months architecting the system, from dedicated hardware to software including eCommerce, CRM, subscription management, recurring billing, and content management systems. I had great help from a small, dedicated, and very talented in-house team of artists and programmers. Absolutely everything is implemented on a LAMP stack.
He notes several of the things they used along the way, including:
I consider it a kind of real-world treatise on how to effectively implement enterprise best practices with LAMP technologies. No books, no debating, no theory -- we did it.
voice your opinion now!
gtd connect project complete standards based best practices gtd connect project complete standards based best practices
Paul Jones' Blog: Solar 0.20.0 released
by Chris Cornutt June 27, 2006 @ 05:52:03
Paul Jones has posted today about the release of the latest version of his Solar framework, version 0.20.0 alpha.
Exactly one month after the last release, I have uploaded version 0.20.0 alpha. There are lots of changes in this release, but the biggest news is that the page-controller now uses method-based actions (as opposed to file-based actions).
You can read the change notes here, but it's a really long list. If you want something a little more readable, with better narrative, you'll find it after the jump below. The new page-controller information is especially good. However, the narrative is quite long, so consider yourself warned. ;-)
For those that don't want to take the time to read through it all, he summarizes it into six different sections:
- Naming and Standards
- Class Name Changes
- Inherited Config File Values
- Adapter Configuration
- Locale Files
- Page-Controller Class
Each section has its own explaination of the changes made in (a bit) more concise manner. Be sure to check out the full notes to read up on everything.
voice your opinion now!
solar framework release version0.20.0 naming standards solar framework release version0.20.0 naming standards
|
Community Events
Don't see your event here? Let us know!
|