- September, 2004
-
to GET or to POST
As Macbeth would have said "To GET or to POST , that is the question". The general consensus is :
- Use GET when you want to give the user the ability to bookmark a page (as all the data is held in the URL and does not rely on an existing session on the server.) The "get" method should be used when the form is idempotent (i.e., causes no side-effects).
- Use POST when a form causes side effects (for example, if the form modifies a database or subscription to a service).
Defined tags for this entry: geek stuff, programming - August, 2004
-
naming conventions
I have a very particular style of naming variables and functions in programs. I usually prefer the Linux Coding Syle I keep my variable and function names in small case and put an underscore (_) between the words, for example create_ftp_user.
A common practise found in the programmers using M$ technology is the use of MixedCase names. I find this type of names extremely prone to errors. For example, what would you keep your function's name, CreateFTPUser or CreateFtpUser ? Would you be able to recall the name correctly 4 days later ? find it easier to have everything in small case with an underscore between the words. A no brainer and easy to remember.
Defined tags for this entry: programming -
Cheat Sheets Galore
The Farm: The Tucows Developers' Hangout has a list of of quick reference cards available online. I have to get the reference cards for emacs, HTML and HTML entities printed out for the office.Defined tags for this entry: programming
Page 5 of 5, totaling 31 entries