 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Bertrand Mansion's Blog: Twitter Bootstrap and the QuickForm2 Callback Renderer
by Chris Cornutt September 26, 2011 @ 12:23:41
In a new post Bertrand Mansion shows how he combined the versatility of the PEAR QuickForm2 package and the Bootstrap project from Twitter to quickly make a form using the project's styling (CSS).
I don't know about you, but for me building HTML Forms and styling HTML Forms are maybe the most boring things in web development. It's repetitive and takes a lot of time to do things correctly. That's why tools like Twitter's Bootstrap and PEAR's HTML_QuickForm2 can help with this part of our job. Wouldn't it be nice to have QuickForm2 generate a markup compatible with Bootstrap CSS, so that you could get a nice looking form without to much efforts? Well, that's what I plan to do here.
He starts by creating a simple QuickForm2 form with no renderers attached (no pre-defined styles) and a custom render callback that wraps the items in "div" tags with the correct styles. There's also a custom renderer included for grouping items with additional styling attached.
voice your opinion now!
twitter bootstrap pear quickform2 callback style render css
John Congdon's Blog: PHP User Groups (Orlando and Daytona Beach)
by Chris Cornutt April 14, 2011 @ 10:36:33
In this recent post to his blog John Congdon looks at some of his local user groups - Orlando and Daytona Beach in Florida - and how they handle their meetings and groups differently.
I am a member of two PHP user groups. Each one runs a little bit differently. I am looking for feedback from other people in other PHP user groups to find ways we may be able to make these better. he East Central Florida PHP User Group (Daytona Beach area) is new/restarting. [...] They seem to be more geared towards teaching new PHP developers. [...] The Orlando PHP User Group is quite different. They lean towards more presentation style meetings. Someone proposes a topic, and then someone volunteers to be the presenter.
He asks for comments from the community as a whole, wondering what he can do and what other groups in similar situations have done to help grow and improve their group. Comments on the post include suggestions of a more traditional approach over the mentoring aspect, a possible mixing of the styles and using tools likee Google Moderator to pick out the topics people are most interested in.
voice your opinion now!
usergroup opinion recommendation presentation mentor meeting style
Richard Smaizys' Blog: Improve your code style with simple tips
by Chris Cornutt December 03, 2010 @ 12:50:56
Richard Smaizys has a new post to his blog with a few simple tips you can follow to help improve your code's style and readability.
So you have to know and you can not forget that your program (not only websites) is like a living beast with whom many people might work in the future. Your code is like your art piece which sometimes need editing, renewal and etc. You can not just think that you will always be the person who manages everything and supports all the bugs. By understanding this you also agree that the code must be maintainable and readable not only for you after a year or two but to other people that may not be so skilled or advanced and otherwise.
He covers two things in this post (there's this other about brackets) - tabs versus spaces (or hard vs soft tabs) and a bit more on braces, specifically about the same line/next line debate.
Have some code style tips of your own or just want to discuss Richard's suggestions? Leave a comment on the post!
voice your opinion now!
code style tips suggestions opinion
DesignLuv.com: A style guide for PHP developers
by Chris Cornutt August 09, 2010 @ 09:13:08
On DesignLuv.com today they've posted what they call a style guide for PHP developers - some types on writing well-styled, easy to read code.
If you're a new developer and are trying to hone in on your coding style, maybe try giving the following a go. These are simply some conventional formatting methods that are generally appreciated and supported by PHP developers and will improve the overall readability of your code.
They talk about a few different subjects - variable names, class and method naming, bracket spacing, default arguments, constants, loops and a lot more. It's good to see them including things like commenting and file name suggestions.
voice your opinion now!
style guide developer formatting suggestion
WebReference.com: XML and PHP Simplified - Formatting XML Documents
by Chris Cornutt August 06, 2009 @ 08:33:04
WebReference.com has the latest tutorial in their "Simplified XML" series posted today. This installment focuses on the formatting of the documents in the browser and how to read them back in.
We have already discussed the XML functions so let's use an example to demonstrate how they work. First, we get the XML file that we want to use. The idea is to create an XML parser. This will then enable us to read and write to an XML document.
Their examples show code that parses an XML document, outputs a simple list of the values inside and how to take an XSL style sheet and apply it to the data as applied through a xml-stylesheet tag.
voice your opinion now!
simple tutorial xml parse style
Noupe.com: Beautiful Forms - Design, Style, & make it work with PHP & Ajax
by Chris Cornutt March 10, 2009 @ 07:57:29
In this new article from Noupe.com they link to several resources that can help you make your site's forms a bit "more beautiful" by combining PHP and Ajax (and Javascript).
Forms needs a solid visual structure, a profound hierarchy of form elements (Fields and Labels), powerful techniques and Functionality (AJAX) to make the form look and work creatively. [...] Today we wanted to share with you some great steps to get the perfect form: we will go through designing and usability you need to keep in mind, styling your form, spicing it up with some nice javascript effects, validating user's input and finally getting it to work using PHP and Ajax.
Some of the links include:
Most of the article links also include links to demos of the tutorial/application in action.
voice your opinion now!
form design style functional ajax javascript link tutorial
|
Community Events
Don't see your event here? Let us know!
|