 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Bryan's Blog: 5 (More) Ways to be a Better PHP Developer
by Chris Cornutt February 14, 2008 @ 12:53:00
Following up on this article from Akash Mehta, Bryan has posted five more suggestions he has to help make you a better PHP developer.
I thought all of Akash's suggestions were good but a little broad and seemed to involve a lot of reading. And while any budding developer will jump at the chance to expand their burgeoning technical library, I thought there were a couple of items we could add to his list.
The recommendations that made his list are
- Start a project that other people (developers and end users) will use.
- Learn another language.
- Teach someone PHP.
- Ask for suggestions not solutions.
- Use what you read.
I'm particularly a fan of the third one (teaching) - not only does it spread PHP out even more through the masses, but it can really test you on your knowledge (some of those "how do I.." questions can get a bit complex, even from beginners).
voice your opinion now!
better developer suggestion list teach suggestion read project language
DevShed: Using the Memento Pattern with a File Reading Class
by Chris Cornutt January 15, 2007 @ 14:22:00
DevShed continues their look at design patterns in PHP with this last installment of their Memento pattern series - "Using the Memento Pattern with a File Reading Class".
Let me now introduce the topics that I'll be covering in this last article of the series. I'll show you how to use the memento pattern to keep track of some properties that correspond to a file reading class. In this way we'll construct a flexible mechanism for moving back and forth between file lines.
They create both of the needed classes for the pattern to work - the originator and the caretaker class - to handle the reading of the files. The code for both is pretty cut and paste-able, so there's no problem getting your example to work. With those constructed, they tie them together with an example of the design pattern in action - reading and displaying the lines of a text file to the user.
voice your opinion now!
memento design pattern tutorial read file echo class memento design pattern tutorial read file echo class
PHPit.net: Read your e-mail with PHP!
by Chris Cornutt July 14, 2006 @ 12:04:21
PHPit.net offers up yet another fine tutorial for your learning pleasure - this time with a focus on email, reading it that is in Read your e-mail with PHP (catchy, eh?).
E-mail is something we use every day, and almost everyone has their own e-mail address. To read our e-mail most of us tend to use something like Microsoft Outlook or Mozilla Thunderbird, but it's also possible to use PHP to read your e-mail. In this tutorial you will learn how.
I will take you through all the steps necessary to read your e-mail with PHP, and show you how to display all the newest e-mails in your inbox.
They use the POP3 class from PHPClasses.org to do most of the work, from connecting to thse server, logging in, grabing stats (like the number of emails), and grabbing and parsing out each email's data.
voice your opinion now!
read email class pop3 connect login parse read email class pop3 connect login parse
|
Community Events
Don't see your event here? Let us know!
|