Web Development

Two most important things for PHP development

After having developed in PHP for many years I've realized that the two most important things a developer can do are:

Those two simple changes will greatly help reduce problems in your code. Now to just get all OSS developers to do the same...

Tags: 

(not going to finish) Production web serving with Cygwin - PHP, Ruby on Rails & ColdFusion

Note: I'm not going to finish this article as ultimately I ran into problems with Cygwin so migrated to running all Windows-native tasks. Still, in its raw state someone might find some use out of it.

Tags: 

Making a form reset button in Rails

Rails doesn't have reset_tag to automatically make a form reset button, instead you have to take a slightly different route. To make a form reset button in Rails you simply do this:
[source:ruby]
< %= submit_tag("Start Over", { :name => 'reset', :id => 'reset_button', :type => "reset" }) %>
[/source]
which will create the following:
[source:html]

[/source]

Tags: 

Pages

Subscribe to Web Development