 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Harry Roberts' Blog: Flexible PHP Interfaces
by Chris Cornutt June 11, 2008 @ 13:40:10
In an effort to breathe as much life into an old bit of software he was having to update, Harry Roberts worked up a list of things that he sees can make things a bit more "programmer friendly" when it comes to using classes, methods and interfaces in your code.
His list of four is:
- Doc Comments
- Flexible Parameters
- Use method Entry contracts
- Be Stateful and Refactor
The "Doc Comments" is pretty obvious, but some of the others need a bit more explaining. Being flexible with your parameters is more about requiring the least from a developer, "entry contracts" being the restrictions to let the developer know what you're expecting and refactoring commonly used functionality into a easy, single point of contact.
voice your opinion now!
flexible interface comments parameters entry contracts stateful refactor
CodeIgniter: Wiki Article Discussions Added
by Chris Cornutt June 04, 2008 @ 10:29:23
According to this new post to the CodeIgniter blog, they've added a new feature to their Wiki - a link between them and the CodeIgniter forums.
Threads will be automatically created and linked for you via the discussion links found at the bottom of wiki articles. More details about this integration can be found at a blog post made in the ExpressionEngine blog, as well as a free ExpressionEngine extension to implement this on your own sites that utilize the ExpressionEngine wiki and discussion forum.
The plugin (the "Wiki Forum Talk" extension) bridges the two components and either makes a new topic when a new wiki entry is added or, if there's already a forum topic for the entry, it automatically links to it.
voice your opinion now!
wiki article forum discussion link topic entry
Padraic Brady's Blog: Zend Framework App Tutorial - Part 9 Zend_Vew and Displaying Blog Entries
by Chris Cornutt May 27, 2008 @ 07:05:22
Padraic Brady has posted part seven of his series on building a blogging application with the Zend Framework as a base. This time he's working on the output of the entries - using Zend_View to standardize the look and feel.
In previous parts we've been using View Helpers without even noticing it. Zend_Form doesn't generate forms by itself, rather it delegates most of the HTML generation to a set of View Helpers like Zend_View_Helper_Form. The problem with such output, is that View Helpers can only generate XHTML 1.0 Strict output if we actually inform them of the standard to use. [...] What we should do, is make the Doctype of our View more dynamic. This is achievable by using the Doctype View Helper.
Padraic talks about the different parts of the View layer in the framework (helpers, partials, placeholders) that were mentioned in previous parts. He shows how to change up his current setup to work with the Doctype View Helper to change the view and make it UTF-8 compliant.
He shows the changes to the bootstrap file, how he's grabbing the entries from the database and how he pushes that out to the view to be displayed. He also creates a custom view helper to create the entry URLs for each of the posts (Wordpress users out there, these are the stubs).
voice your opinion now!
zendview zendframework helper placeholder custom entry url doctype
Nick Halstead's Blog: (PHP) Competition Update
by Chris Cornutt July 10, 2007 @ 11:07:00
For those of you anxiously anticipating the results of the PHP programming competition put on by The Programming and Management blog, Nick Halstead has posted an update to help keep you up to date.
The judging of the PHP competition is taking a lot longer than I first thought! I started with 40+ entries which I reduced down by trying them one by one (very slow!) some of them quickly stood out and I got the list down to 12 entries. [...] I then went through those top 12 and re-tested more thoroughly trying out further words/dictionaries plus quick checks for robustness and quality of presentation. This then left me with 6 entries which I would then email out to the other Judges.
The final judging of these last six is dependent on how each of the judges rank the applications overall. Nick also includes some of the comments made by the judges already about the applications they're reviewing.
voice your opinion now!
competition contest programming entry judge competition contest programming entry judge
WebReferece.com: Building a Weblog Part 2
by Chris Cornutt February 19, 2007 @ 11:34:00
WebReference.com is back today with part two of their "Building a Weblog" series picking up where the previous part left off.
They start with adding a comments summary to the page, giving the user a view of the previous comment submitted by other users. They include a brief look at anchor tags before moving into the code to display some of the previous blog entries. Next up is all about getting more specific - creating the code to view each of the specific blog entries.
Of course, what is an entry without its comments, so they include the code to integrate that into the page as well. Finally, they give the user a way to talk back about the content they're reading by adding a simple comments form to each of the posts' pages.
voice your opinion now!
build weblog tutorial comment previous entry build weblog tutorial comment previous entry
Robert Peake's Blog: Does Popularity Matter?
by Chris Cornutt January 06, 2006 @ 07:08:53
In his latest blog entry, Robert Peake looks at something that PHP is certainly susceptible to, given that other languages like JSP, ASP, and Ruby are always being compared to it - the popularity of the language. Robert asks "Does Popularity Matter?"
Nexen recently posted a great survey on PHP usage (perhaps they beat NetCraft to the punch this time?). We've seen these trends before: PHP is on the steady rise for numbers of installations. Coupled with Apache, it is the most popular web development platform around.
My question is: does that really matter?
By "matter" I mean, "does it affect PHP's credibility in a positive way?"; and also: "does it prove anything?"
He wonders if the numbers that show on the surveys are PHP usage because people want to use it, or if it's simply that it's preinstalled in so many places these days (and has a low "barrier to entry") that it's being mistaken for popularity. He also mentions something that I think we all, as PHP developers and ambassadors, should think about:
So, rather than the community resting on its collective laurels for one more year of increased installations, I encourage us all to consider what can be done to promote PHP through education, standards, and best practices to its rightful place as much, much more than simply a popular web development language.
voice your opinion now!
php popularity really matter low barrier to entry default install php popularity really matter low barrier to entry default install
|
Community Events
Don't see your event here? Let us know!
|