 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
PHP vs. .NET Blog: Ten PHP Best Practices Tips that will get you a job
by Chris Cornutt June 26, 2008 @ 11:13:59
Blake has posted some of his opinions on "best practices" that can help you land that new job you've been looking for:
The last couple of weeks have been quite the experience for me. I was part of a big layoff at my former company, which was interesting. I've never been in that position before, and it's hard not to take it personally. [...] Before the face-to-face portion, I chatted with the owner and head programmer on a conference call, and they ended up sending me a technical assessment quiz.
In the quiz, there was one question the prompted him to come up with his tips - ten things that you can do to keep your code clean, lean and easy to maintain. His tips include things like "use single-quotes around array indexes", "don't use open short tags" and "document your code". Some of the suggestions don't make that much of a difference, but others (like the documentation one) can make the world of difference down the line.
voice your opinion now!
bestpractices job help tips list quiz question
Zend Developer Zone: Three Quick Tips To Make Your PHP Understandable
by Chris Cornutt June 25, 2008 @ 07:57:19
The Zend Developer Zone has posted a new article today with three tips to help you make your code a little easier to understand (both by other coders and yourself down the road).
Producing code that clearly conveys a developer's intent is key to any well written application. That not only applies to PHP, but every programming language. Developers who emphasize the creation of legible code tend to create applications which are easier to both maintain and expand upon.
His tips include suggestions about keeping conditional logic clean, using "less PHP and more HTML" and to make the best possible use that you can out of sprintf "and friends".
voice your opinion now!
tips understandable code conditional logic html sprintf
Developer Tutorials Blog: Five Wordpress Tips for Power Users
by Chris Cornutt May 07, 2008 @ 07:57:58
On the Developer Tutorials Blog today, there's a new post aimed at WordPress users to help them on the path to becoming "power users" with five tips.
If you're a wordpress power user, you'll inevitably have some questions about how you can improve your blog or add new features. Here are five tips that will make life easier for people wanting to maximize their use of Wordpress.
The list is:
- Quickly Find Page/Post ID
- Custom Front Page
- Password Protect Wordpress
- Protect from the 'Digg Efect' with HTML
- Stop Hackers
Each of them with their own explanations (and links to other resources detailing how they're done).
voice your opinion now!
wordpress power user tips find custom page password digg hacker
PHPClasses.org: Book Review The PHP Anthology 101 Essential Tips
by Chris Cornutt April 16, 2008 @ 23:19:05
The PHPClasses.org website has a new book review of SitePoint's latest PHP-related release, "The PHP Anthology: 101 Essential Tips":
As PHP developers, we commonly resort to browsing the Web for people with similar programming problems. Now that we have The PHP Anthology, why should we? While the book certainly does not cover everything, there is something for everyone, and even the few sections you find useful make it all worthwhile.
He talks about the book's target audience, the quality of the examples it provides and some of his suggestions on how the book could have been even better.
voice your opinion now!
anthology essential tips book review sitepoint
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
Nick Halstead's Blog: Three New Programming Tips
by Chris Cornutt December 05, 2007 @ 07:53:00
Nick Halstead has posted a few more of his programming tips in the series he's running - three more to be exact dealing with readable code, aggregation, and code structure tips.
- Programming Tips #3 "Divide, Indent, Comment and Name": "We all started programming at some point in our life, some of us on our own, some under guidance of teachers, parents, but even now there are few tips, that should be known by everyone."
- Programming Tips #4 "Aggregation over Inheritance": "My favourite rule is to favour aggregation over inheritance."
- Programming Tips #5 "Readable Code": "It's easier to debug, and later to maintain. Make it readable by using descriptive identifiers, properly tabbing the code, and breaking down the application into functional and reusable pieces."
You can check out the full list of his programming tips in this list.
voice your opinion now!
progamming tips readable aggregation inheritance comment divide progamming tips readable aggregation inheritance comment divide
SitePoint: The PHP Anthology 101 Essential Tips, Tricks & Hacks, 2nd Edition
by Chris Cornutt October 30, 2007 @ 13:24:17
SitePoint publishing has released the Second Edition of their popular PHP Anthology book - "101 Essential Tips, Tricks & Hacks":
Enter, The PHP Anthology a book that proves that you don't need a computer science degree to take advantage of the powerful features of PHP 5.
Save time, and eliminate the frustration of completing PHP tasks, with this comprehensive collection of ready-to-use solutions. If you're building web applications with PHP you'll never let this book out of your sight!
Authors for this edition are PHP notables Ben Balbo, Harry Fuecks, Davey Shafik, Ligaya Turmelle and Matthew Weier O'Phinney. The book covers a huge range of topics like using strings, dates and times, working with files, image manipulation and error handling.
Check out the book's main page for a link to get a free sample of the content, too! You can order the book for either $49.90 USD (PDF and hard copy), $39.95 USD for just the hard copy or $29.95 USD for the PDF copy only.
Check out some blogs from the authors: Matthew Weir O'Phinney, Davey Shafik and Ligaya Turmelle
voice your opinion now!
sitepoint book publish anthology tips tricks hacks sitepoint book publish anthology tips tricks hacks
|
Community Events
Don't see your event here? Let us know!
|