 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
IBM developerWorks: Build seven good object-oriented habits in PHP
by Chris Cornutt October 31, 2008 @ 07:51:59
The IBM developerWorks website has a few suggestions - seven of them, in fact - that they think can help make you a better PHP programmer.
With PHP's object-oriented (OO) language features, if you aren't already creating your applications with OO principles in mind, these seven habits will help you get started in the transition between procedural programming and OO programming.
Each of the seven OOP habits have more details below them, but here's the short list:
- Be modest.
- Be a good neighbor.
- Avoid looking at Medusa.
- Embrace the weakest link.
- You're rubber; I'm glue.
- Keep it in the family.
- Think in patterns.
In each there's a "bad habit" and a "good habit" to explain the concept a bit more fully, everything from error handling to interfaces.
voice your opinion now!
oop objectoriented tutorial seven habit pattern error handling cohesion
Kore Nordman's Blog: Raytracing with Image_3D
by Chris Cornutt April 05, 2006 @ 07:48:36
Kore Nordman has been making even further advancements in the development behind the PEAR Image_3D library - this time, he looks at raytracing in PHP.
I was always writing, that implementing a raytracer (or the better german description) in PHP would be far to slow. And then, two days ago, I had the feeling I should prove this ... this was also the way Image_3D was born. With the infrastructure Image_3D offers, all the existing models, the abstraction etc. it wasn't such a big thing. You mainly need to write a short algorithm which gets the intersection point for a polygon with a line, and that's it. For sure, you should optimze the algorithm a bit. And it is really fun to implement such a simple mathematical model like raytracing is.
He talks about some of the problems that raytracers don't have that normal renderers do (shadows, reflections, etc) and notes that the images display in the post took about seven minutes to render on his system. He proved that it can work, but notes that it supports his original hypothesis - rendering like this with PHP is just too slow.
voice your opinion now!
php raytracing image_3d pear package seven minutes php raytracing image_3d pear package seven minutes
php|architect: 7 Promotions for 7 Days Starts Today
by Chris Cornutt January 03, 2006 @ 06:47:29
The start of this week marks the beginning of the "Promo Week" over at php|architect, with deals on all sorts of great things including discounts off of the Zend Certification and discounts on their training courses.
The holidays are a time to spend with the family... but the New Year is a time to get some of the best deals from php|a!
Once a year'"and only once a year'"we bring you a series of special one-day-only deals on all our products and services that you will not want to miss!
Today is the start of the promotion, and the deal today involves a $50 (USD) discount off of the Zend Certification exam. Here's a few of the others (that aren't surprises):
- Wednesday, Jan. 4th - a free PDF
- Friday, Jan. 6th - 50% off of training classes
- Sunday, Jan. 8th - PDFLib Book launch offer
- Monday, Jan. 9th - a php|tek special offer
So, keep your eyes here for the surprise promos through out the week!
voice your opinion now!
php promotion seven days discount training book zce php promotion seven days discount training book zce
SitePoint PHP Blog: Top 7 PHP Security Blunders
by Chris Cornutt December 21, 2005 @ 07:04:07
On the SitePoint PHP blog today, Pax Dickinson shares with us the "Top 7 PHP Security Blunders" as he sees them.
In this article, I'll detail many of the common PHP programming mistakes that can result in security holes. By showing you what not to do, and how each particular flaw can be exploited, I hope that you'll understand not just how to avoid these particular mistakes, but also why they result in security vulnerabilities. Understanding each possible flaw will help you avoid making the same mistakes in your PHP applications.
His list includes:
- Unvalidated Input Errors
- Access Control Flaws
- Cross Site Scripting (XSS) Flaws
- Data Handling Errors
There's more listed, so be sure to check out the rest of the article - each item is explained and on some, sample code is included where it makes sense...
voice your opinion now!
php top seven security blunders input error xss access control php top seven security blunders input error xss access control
|
Community Events
Don't see your event here? Let us know!
|