Categories
- agile (3)
- algorithms (34)
- cheatsheets (2)
- css (29)
- download (3)
- featured (46)
- flex 3 (25)
- javascript (139)
- micro tutorial (203)
- PHP (111)
- portfolio (5)
- quiz (7)
- snippets (7)
- video (1)
- web development (168)
- zend framework (81)
Monthly Archives: June 2010
Zend Framework: Inject JavaScript Code in a Action/View
There is a view helper that can inject a head or inline script into your code. Simply by putting some JavaScript code into the view script wont do the job, because the .phtml file is grabbed and parsed by the … Continue reading
Posted in javascript, micro tutorial, PHP, zend framework
Tagged Client-side JavaScript, Computer programming, Computer science, Computing, controller, Cross-platform software, Curly bracket programming languages, javascript, JavaScript programming language, PHP, PHP programming language, Printf, Scripting languages
3 Comments
Bind Zend Action with Non-Default View – Part 2
Typical Setup Typically Zend Framework is setup to bind every controller’s action to a specific view. The names of the action and the view script must be the same, or at least must be similar – following the ZF’s convention. … Continue reading
jQuery: Get the Selected Option Text
What’s the Task? First of all let me explain what is the task. If there’s a select menu with several options, each of which are with a given value attribute, the task is to get the text into the option … Continue reading
Posted in javascript, micro tutorial, snippets
Tagged Computer programming, Computing, html, jquery, markup, Markup languages, select, snippet, Technical communication
5 Comments
Redirect with Zend Framework
Once I wrote about redirecting with Zend Framework, but what I missed back than was a common mistake. Although the code from my post is working, to be completely correct after redirecting I’d to add an exit() statement. This is … Continue reading
Posted in micro tutorial, PHP, zend framework
Tagged Computing, PHP programming language, redirect, referer, URL, Web application frameworks, World Wide Web, zend
1 Comment
Get the Server’s IP Address with PHP
If there’s a need to get the server’s IP address with PHP, the answer is simple: <?php echo $_SERVER[’SERVER_ADDR’] ?> Actually that looks pretty much like the getting the user’s IP address: <?php echo $_SERVER[’REMOTE_ADDR’] ?>





