Hello to everybody.
Now, the countdown begins for a new year!!!
Wish you all the very Happy New Year!!!! (in advance)
Come and pray that, the new year will brings lots of happiness, joy for everyone.
May God complete all the wishes of everyone.. [mine too: )]
Have Fun.. Enjoy... and Take Care
Monday, December 29, 2008
Sunday, December 7, 2008
Thursday, December 4, 2008
Improve Your Programmins Skills
PHP Techniques.
These days, PHP rocks in the web world..
lots of programmers/developers moving to the PHP.
Here are some techniques, to improve your programming skills..
PHP Techniques.
These days, PHP rocks in the web world..
lots of programmers/developers moving to the PHP.
Here are some techniques, to improve your programming skills..
PHP Techniques.
Monday, July 7, 2008
Power of JavaScript
No doubt.
Javascript is one of the famous and powerful client-side scripting language.
Here is an example to prove that.
By using the following line, you can edit the content of any website. Wow!!!
Check-it out...
Javascript is one of the famous and powerful client-side scripting language.
Here is an example to prove that.
By using the following line, you can edit the content of any website. Wow!!!
Check-it out...
javascript:document.body.contentEditable='true';
document.designMode='on'; void 0
Monday, June 30, 2008
Interacting with your Views
Interacting with your views:
The principal use of this function is to extract data from a controller and transfer it to a view.
It can be used to transfer single values, whole arrays and so on etc. The moment you utilize set(), the variable can be accessed in your view: doing set(name, john) in your controller makes the variable name available in the view.
validate() - this function is used to validate a model data respecting the rules of validation defined in to the model.
set($variable, $value);
string $variable;
mixed $value;
The principal use of this function is to extract data from a controller and transfer it to a view.
It can be used to transfer single values, whole arrays and so on etc. The moment you utilize set(), the variable can be accessed in your view: doing set(name, john) in your controller makes the variable name available in the view.
validateErrors() - displays the number of all the errors produced by an unsuccessful save.validate() - this function is used to validate a model data respecting the rules of validation defined in to the model.
render($action, $layout, $file) - this function may not always be needed because render is called by default when every controller action ends, so the view specific to your action is rendered. On the other side, you can call this function to render the view anywhere in the controller code.
Subscribe to:
Posts (Atom)