-
Pet Projects
Tag Archives: Web Development
A few days back I thought of implementing a RESTful web service. I did not have any idea on how to implement one. So I searched online and found this post. Based on astrumfutura’s post, I created my own “simplified” … Continue reading
Sometimes, I “mix” PHP variables with Javascript. For example, I have something like this: function deletenote(notes_id) { if(!confirm("Delete note? You will not be able to undo this action.")) return false; $.post("< ?=$this->baseUrl?>/notes/deletenote",{ skeedl_notes_id: notes_id }, function(data){ $(’#notes_id’+data).fadeOut(); }); } … Continue reading
A few weeks back, someone sent me an email. Hi, We just posted an article “The Cheat Sheet Cheat Sheet: Top 100 Lists of Web Development Cheat Sheets “ ( http://www.virtualhosting.com/blog/2008/the-cheat-sheet-cheat-sheet-top-100-lists-of-web-development-cheat-sheets/ )I thought I’d bring it to your attention just … Continue reading
From jansch.nl: This is not the best way to escape data. The most important reason is security. addslashes can lure you into a false sense of security. As Chris Shiflett points out, there are situations that addslashes doesn’t escape. Use … Continue reading
I have just completed (well almost – but it is now fully functional) my CMS (Content Managment System) using the Zend Framework. I’m calling it “Hamburger” – after the current project I am working on, WorldsGreatestHamburgers.com. I am excited to … Continue reading
I have been handling file uploads in most of my web applications. Sometimes, I store them in databases and sometimes I feel like storing them in directories. This post will not deal with uploading files, but rather downloading them. Basically, … Continue reading
It is Saturday night and it is raining like it hasn’t rained in weeks. So I decided to spend the night to work on my pet project: MyLyricsFinder.com. It uses the Zend Framework. The latest addition tonight is Zend_Cache. I … Continue reading
An article where a couple of guys decided to use Ruby on Rails instead of Java and Google Web Toolkit. I would encourage everyone who is learning RoR to read the entire article. Don’t skip the last part of the … Continue reading
A must read for PHP Programmers. Here is the first half: If a method can be static, declare it static. Speed improvement is by a factor of 4. echo is faster than print. Set the maxvalue for your for-loops before … Continue reading
This article was posted at IBM developerWorks a few days ago – I don’t know how I missed it. The article gets you started on three of the most popular PHP MVC Frameworks. Surprisingly, Code Igniter, which is my second … Continue reading