Build your own Related Posts widget for Blogger
I have visited many blog sites and most of them have "Related Posts" or "You may also like - " section for visitors who like to discover more related articles or stories. I am one of those visitors who likes to find out more interesting posts which are related to the original article I have read. Indeed, having related posts section will increase your exposures of your site. That is no doubt about it. Unfortunately, I didn't have this feature on my site since I started to customise it. Of course I then started to do some research about building [...]
by Elvis Hsu 9 comments Read More
Flickr Photo Gallery with Colorbox in jQuery
Last week I updated my Blogger site to be responsive and optimised the page load time. Whilst doing those optimisation, I was looking for a simple photo gallery to display the photos from my Flickr photo stream. I've tried flickr sideshow, pictobrowser and slideflickr however I was not satisfied with them. I then started to study the Flickr API and tried to make a Flickr-like justified layout for my photography page. While trying to code the jQuery plugin, I found two great articles by Sam from Wackylabs.net and Miro [...]
by Elvis Hsu 7 comments Read More
Summarising your Blogger posts
I use a simple JavaScript function to summarise the posts on the home page of this blog. It worked quite well since the Blogger.com hasn't complained about it. Well, things have gotten a little bit ugly. Few days ago, I post a new article "Start your own MVC Framework with PHP" which is quite a long post. It contains code samples, descriptions and CSS code for presentation. After I published the article, I noticed that some posts on my home page went missing. I set the setting to display 8 posts per page for home page, categories, paging and search [...]
by Elvis Hsu 1 comment Read More
Start your own MVC Framework with PHP
I have been using ASP .NET MVC for many years. It is a complex framework but not difficult to learn (at least for .NET developers). Anyway, I like the way it handles templates and routing. Few years ago, one of my clients asked me to developed a simple ERP system with PHP and MySQL. My first thought was: "Why not developing a simple MVC framework with PHP?". It would allow me to utilise the backend code and avoid mixing code in classes. I started to study many PHP MVC Frameworks such as Zend Framework, Symfony and CakePHP but I realised those [...]
by Elvis Hsu 19 comments Read More
Edit your CSS and JavaScript files on Google Drive
Well, I like blogger.com. It is free and it allows me to play around the source code of templates. Since last year, I started to use customised templates and tweak some of the source codes. Believe or not, I actually enjoy it. Anyway, this is not what this post about. I use Google Drive to host my CSS and JavaScript files for this blog site. I edit these files on my computer and let Google Drive application to synchronise the files to the cloud. It sounds normal and I believe many other people would use the same way I do. However, what if I want [...]
by Elvis Hsu 3 comments Read More
Generate MetaData for ExtJs Data Reader
Metadata is one of my most used properties in Ext.data.reader.Reader. It allows me to pass custom data/configuration to Grid Panel, Form, ComboBox and other components without needing extra efforts to change the code. At the following example, I just want to put my column layout configuration to the grid without configuring the data fields in the data store. If the settings of data fields is bound with data columns' information on the database, then we could save a lot of time to match the data field types when updating/retrieving data to/from server. In this article, we are [...]
by Elvis Hsu 1 comment Read More

CryptoDonatex