In this new post to his blog Gonzalo Ayuso looks at building an ORM (don't worry, he recommends something like Doctrine first) as an exercise to understand how they're constructed and how one could fit his goals.What's the motivation for me to build this ORM? The answer is a bit ambiguous. I like SQL. It allows us to speak with the database in a very easy way. [...] So the idea I figured out was to create a set of classes based on my tables, in a similar way than traditional ORMs to help me to...
Derick Rethans has posted the third part of his series looking at the garbage collection handling in PHP (the first two parts are here: one, two). In this last part of the series, he'll look at some of the possible performance impacts the garbage collection functionality can have in your applications.In the previous two parts of this column we have explored PHP's take on circular referenced variables and a mechanism that allows to clean up this particular problem with reference counted variable tracking....
Unit testing is becoming a fairly common element of software projects because of its promise of providing better quality to the code base. A unit test is a class or method that exercises your code for purposes of verifying that it functions correctly. During the course of your project, these tests remain as artifacts that can be used over and over again to verify that your code is always working correctly. The higher percentage of your production code you exercise, the higher degree of certainty you can...
Steponas Kazakevicius has written up a new tutorial about file uploading and, more specifically, making an upload tool that can handle interruptions.Have you ever been to a website that offers downloads of stuff? And while you are waiting for the download, there are lots of ads around? Sure you have. I have too. The last day I was downloading stuff. An idea came to my head. Was there a site which required to stay and watch the ads while you are downloading? Didn't see one. Is that technically possible?...
On the Web Builder Zone there's a new article posted from Giorgio Sironi asking readers what they think is the next direction web applications will head towards.PHP is one of the most used web development programming languages in the world, and from its original creation in 1995 has evolved much both as a platform, with drivers for nearly every existent database, and as a language itself, with the introduction of several new programming paradigms.He gives an overview of the history of the PHP language...
If you're a PHP developer and have been wanting to find out a bit more of what Ruby is all about, you should check out this new post from TutToaster.com that might help with the learning process.With our knowledge of PHP we can learn a lot about Ruby. Use of variables, loops, arrays, functions and classes, everything starting from PHP. In the end, there is an example to see all together where we'll combine what we have learnt to see something really useful in action.They introduce some of the basics of...
Latest PEAR Releases:
Collecting Garbage: Performance Considerations
Monday, September 13th 2010, 09:23 BST
This is the third (and last) part of three-parts column that was originally published in the June 2009 issues of php|architect.
Part one is here and part two is here.
In the previous two parts of this column we have explored PHP's take on circular referenced variables and a mechanism that allows to clean up this particular problem with reference counted variable tracking. Of course, the implementation of...
Matthew Weier O'Phinney and I are giving an Introduction to PHP presentation this morning at Vermont Code Camp. I've posted the slides to SlideShare and the example PHP scripts are available on GitHub. If you are at Vermont Code Camp and attended our session, please take a minute to give us feedback on Joind.in.
Introduction to PHP
View more presentations from Bradley Holt.
Oracle Database "client identifiers" are cool because they let Oracle Database trace and monitor DB resource usage for individual web users, not just for the username that connected to the DB. You know how your web app files all connect...
In a recent post to his blog Dhiraj Patra introduces the iPFaces mobile PHP framework and shows how to create a simple "Hello World" kind of application.iPFaces is a flexible solution for easy development of form-oriented network mobile applications. With the iPFaces solution, mobile devices are able to render content received from a server using their native UI components. It uses thin presentation client (must be installed on device) to render application content. Using iPFaces it is possible to build...
On the CodeForest site there's a recent tutorial that offers a different option for those dealing with an application that has the possibility for rapid change in its database structure - a key/value table in a standard relational database (no, not NoSQL).Key/value approach in database design could come in handy when we need to store some arbitrary data about another table. For example, we have a users table that holds our user data. Everything is working fine, but some day our client decides that he...
On the Zend Developer Zone today Michael Bailey has posted an introduction to CouchDb including some sample code (in a download) and a look at the basics of using the database itself.I will not detail the installation of the CouchDB server, the wiki got enough details. For the rest of this article I will assume that we have a running CouchDB server waiting for our queries on couch.example.com on port 5984 (the default CouchDB port). Setting up PHP on Couch is not really complicated : just download it on...
If you're looking to take that next step in expanding your development/design knowledge outside of your local area, you might consider attending one of the many conferences out there on a wide range of topics. Finding them may not be the easiest thing, though, so Smashing Magazine has posted this huge list of conferences yet to come in 2010.Using the contents of [last year's] list along with some other sources, we've compiled a list of web design and development-related conferences and events that will...
New on his blog today Brian Swan has posted an interview with Eli White (no, not that Eli White) a PHP developer and intern on the ASP.NET team there at Microsoft with some of his thoughts on Web Matrix and Razor from the perspective of someone with some PHP knowledge.I had the good fortune of meeting Eli White, a junior at University of Washington and a PHP developer of 7 years, for the first time at the local Seattle PHP Meet Up a few months ago. [...] I had lunch with Eli last week and we talked about...
I liked how the Dev Derby website did team leader profiles and decided to try to do something similar. No one provided any pictures but most did answer some questions I asked so without much further ado, meet the PHP Dev Derby Team.
The team consists of
Dennis Rogers (@_drogers)
Max Beatty (@maxbeatty)
Matthew Haralovich (aka zon)
Grant Simpson (@grantls)
Ryan Dagey (@dageytech)
Update: added in Ryan Dagey's answers. And photo.
Meet Dennis Rogers (@_drogers)
What do you like about PHP?
It's what I know,...
Less than 2 weeks remain to nominate your favorite open source project in Packt's 2010 Open Source Awards.
Michael Kimsal has submitted some info about a conference that he and others in the Raleigh, NC area will be putting on targeting independent web professionals - a single day event with twelve different sessions aimed directly at folks out on their own - indieconf.indieconf is a conference for independent web professionals. Whether you're a full time freelancer or part time contractor, designer or developer, you'll find something for you at indieconf. Web and tech conferences have traditionally focused...
Popular posts from PHPDeveloper.org for the past week:Chris Roane's Blog: Should PHP web programmers go to college?
Chris Tankersley's Blog: Getting Started with Reflection
Kevin Schroeder's Blog: You want to do WHAT with PHP? Chapter 5
Derick Rethans' Blog: Collecting Garbage: Cleaning Up
Luc de Brouwer's Blog: Stop waiting, start array dereferencing in PHP now!
SitePoint.com: OAuth for PHP Twitter Apps, Part I
PHPFreaks.com: A simple Debian based dev environment
NETTUTS.com: Creating a Web Poll with...
We are looking for a
Software Developer and Quality Assurance Engineer in Cologne.
If you are interested, feel free to apply.
Latest PHP Tweets