As mentioned in a
we started building Gimme Bar a little
over a year ago. We did a lot of things right, but we also did some things
Since-in those early days-I was the only developer, and since most of my
professional development experience is in PHP, that choice was obvious.
I also started building the API
before the front-end.
I chose a really simple routing model for the back-end, and got to work,
sans framework. Our back-end code is still really lean (for the most part),
In a new post to his blog Stefan Koopmanschap shows you how to get DocBlox installed for your documentation-generation needs as an alternative to phpDocumentor.People using PHP that want API documentation usually automatically think of phpDocumentor, which used to be the de facto standard for generating API documentation from your PHP projects. However, the project has been dormant for a long time now and definitely does not support new PHP features such as namespaces, so it was really time to look for...
During some of his development, Christian Weiske found the tests for a project he was working on too slow for comfort and figured there had to be a way to find the root cause:Running the specific test cases for the part of the application you're working on is easy and fast, but that does not tell you when changes in part A of the app break part B - which happened several times, and all just because I didn't want to wait 45 seconds again and again. So a solution was badly needed; tests should be as fast...
On PHPBuilder.com Jason Gilmore has posted a new article looking at the benefits of dependency injection in helping you keep your code more maintainable and well-structured.Of course, the advantages of object-orientation can only be fully exploited when implemented in conjunction with best practices such as encapsulation and inheritance. One such "implementational" best practice is dependency injection, a design pattern that facilitates the decoupling of otherwise dependent components. [...] Save...
This second and concluding segment of our tutorial on Twig templating discusses more advanced templating options, including goodies like template inheritance, custom filters, caching and Zend Framework integration. It also tells you a little more about what goes on under Twig's hood, and shows you how to add more power and flexibility to your PHP and Twig templates.
Latest PEAR Releases:
There's two PHP conferences right now that have their CfP open where I'm one of the people who will be selecting the proposals. I would like to invite everyone to submit to these CfPs as both conferences are awesome!
Is Cloud the Right Solution to Host PHP Sites? - Lately in PHP podcast episode 11
By Manuel Lemos
Given the latest problems that occurred in sites that are based on cloud hosting services, Manuel Lemos and Ernani Joppert discuss if the current breed of cloud services are the right solution to host PHP sites.
Job postings for the past week:Job Posting: Perforce Software Seeks Web Application Developer (Victoria, BC Canada)
Job Posting: Options Consulting Solutions Seeks PHP Developer Team Lead (Toronto, Canada)
Job Posting: FireScope Seeks Experienced Web Application Developer/Manager (Dallas, TX)
On PHPRiot.com there's a new tutorial showing you how to use the Douglas-Peucker algorithm to make the pathing on your map the simplest possible (the fewer points the better) having serious benefits a wide range of users, most notably those on mobile devices.When drawing a path on a map (for instance, the directions from point A to point B) it is important to consider the limitations of the device you're drawing the path on. In this article, I will show you how to reduce the number of points in a path so...
The Voices of the ElePHPant podcast has posted their latest episode - an interview with Beth Tucker Long, Editor-In-Chief of php|architect.Cal's "three questions" this time are related to her experience coming in to PHP and her thoughts on the community:
How did you get started in PHP?
What do you look for in authors for [php|architect]?
What new technology do you think will have the biggest impact on PHP developers in the coming year?
You can listen to this latest episode either using the in-page player...
On the Symfony blog there's a new post about how Symfony2 is "getting easier" thanks to some recent changes with improved error handling and simpler configuration options.With the release of the first beta approaching fast, our main focus has switched from adding new features to polishing existing ones. [...] Recently, Ryan and I have spent our time tweaking error messages, simplifying the code and the configuration, adding more documentation, and making things more consistent throughout the framework....
Hannes Magnusson, in an effort to make it easier for developers to play with the latest shiny features of the current PHP development, has created a PPA for the latest daily status of the PHP project's trunk line of code.There is still no public "development preview" or alpha release, but that doesn't mean we can't play around with it, report bugs, ensuring our apps still properly work with it etc etc etc. It is however a bit annoying needing to "go old-school" and fetch a snapshot and build it yourself...
LESS, a project I'm currently hacking
on @work, has has a unit test suite that was a pain to use because
the ~80 tests took 45 seconds to run.
The problem with that test suite is that you just don't run it often
enought during development because it's just too long.
Running the specific test cases for the part of the application
you're working on is easy and fast, but that does not tell you when
changes in part A of the app break part B - which happened several times,
and all just because...
On the Ibuildings techPortal they've posted a new episode of their recordings from the Dutch PHP Conference 2010, DPCRadio - a recording of Elizabeth Naramore's session Technical Writing.If you've had an idea for writing a blog post or article, but you're not sure where to start, this talk is for you! Maybe you've had difficulty effectively documenting your code, or communicating your ideas to non-techies. This talk will help you, too! In this fun and informative session, we'll discuss the basics of...
People using PHP that want API documentation usually automatically think of phpDocumentor, which used to be the de facto standard for generating API documentation from your PHP projects. However, the project has been dormant for a long time now and definitely does not support new PHP features such as namespaces, so it was really time to look for an alternative. In this blogpost, I'll show you how I set up my Jenkins CI to use DocBlox, one of the new API documentation generators currently available.
Popular posts from PHPDeveloper.org for the past week:DreamInCode.com: Preventing PHP Mail(...) Header Injections
NetTuts.com: Protect a CodeIgniter Application Against CSRF
Brian Moon's Blog: PHP Frameworks
Chris Roane's Blog: The Last Few Years: What a PHP Programmer Has Learned
James Cohen's Blog: How to Avoid Character Encoding Problems in PHP
CodeIgniter.com: Tickets On Sale For CICON2011: The First US CodeIgniter Conference
Eric Hogue's Blog: Late Static Binding
Zend Developer Zone: My Favorite...
The upcoming month is a crazy month in terms of PHP conferences. There is a lot of very good conferences going on, and I'm very happy to be attending three of them! I will either be speaking or hosting an uncon. It is a busy month and I'm looking forward to it, and I hope to see you at one of these!
As was mentioned by Kevin Schroeder, the Call for Papers for this year's Zend/PHP Conference has officially been announced!We are happy to announce that planning is underway for the 2011 Zend/PHP Conference which will be held in Santa Clara, October 17-20. ZendCon 2011 will be the best conference yet and we would like to invite you to be a part of it! A conference is only as good as its speakers and we are looking for the best speakers to share their knowledge and expertise with the PHP community....
Latest PHP Tweets