 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
SmartyCode.com: Serving XHTML in Zend Framework App
by Chris Cornutt April 27, 2009 @ 07:55:39
On the SmartyCode.com site, there was a new article posted recently looking at making the output of your Zend Framework application XHTML compliant.
Serving XHTML is often misunderstood by php developers. Frontend engineers simply include the XHTML doctype to their documents, without actually serving document as XHTML. This triggers majority of the browsers to treat such pages as 'tag-soup'. [...] This front controller plugin's code mostly takes concepts from the excellent article by Keystone Websites, but implements in Zend Framework environment in an object-oriented way.
The code works as a plugin to the controller and runs a few checks on the contents of the data being pushed out (dispatchLoopShutdown) and returns the correct header information (DOCTYPE, language attribute) in the correct XHTML format for the data. When the plugin is registered, all it takes is a call to the "doctype()" method to output the correct information.
voice your opinion now!
zendframework xhtml doctype serve format plugin controller
Developer Tutorials Blog: Designing and Coding a Wordpress Theme From Scratch
by Chris Cornutt April 29, 2008 @ 11:17:18
The Developer Tutorials blog has posted a series they've worked up to show bloggers out there running WordPress how to create a custom theme from scratch:
In this multi-part series I'll detail how to create and design a Wordpress theme from nothing more than your imagination using Photoshop, CSS, XHTML and PHP.
Here's the list so far:
- Part 1 - getting the tools and an overall layout idea
- Part 2 - splitting it up to make the layout parts
- Part 3 - converting the Photoshop template to XHTML
- Part 4 - cleaning up the XHTML and doing some styling with CSS
- Part 5 - how to preload some images with Javascript to make the page load faster
- Part 6 - creating the WordPress-specific markup
- Part 7 - working up the PHP functionality
- Part 8 - integrating PHP into the template
- Part 9 - marking up the "framework" of the site (header/footer/sidebar)
- Part 10 - adding additional files like a links page and changing the posting template
- Part 11 (?) - deploying the theme out to the public view
voice your opinion now!
series tutorial wordpress photoshop xhtml convert layout theme custom
|
Community Events
Don't see your event here? Let us know!
|