Yearly Archives: 2008
Most useful tutorials to develop web application using Ruby on Rails
Some of my friends asked me how he/she can develop web application using Ruby on Rails. So I have written following two articles about web development using Ruby on Rails: Developing Web Application using Ruby on Rails How can I create sample application using Ruby on Rails? Also, I am sharing some tutorials that I…
How can I create sample application using Ruby on Rails?
To create a sample web application using Ruby on Rails needs to setup environment first which I explain in my previous blog. Now we will create a sample application to manage (CRUD) user information by using NetBeans IDE. Below are the steps to create a sample application: In the NetBeans IDE, choose File > New…
Developing Web Application using Ruby on Rails
Rails uses the MVC pattern to organize application programming. Its provides scaffolding which can automatically construct some of the models and views for website and intended to emphasize Convention over Configuration, and the rapid development principle(DRY) and it has various packages, namely ActiveRecord(for database access), ActiveResource(web service), ActionPack, ActiveSupport and ActionMailer. Developer can make plugins…
Implementation of CruiseControl.rb and RCov
CruiseControl.rb is Ruby based continuous integration tool which is used for continuous build process including testing, email notification. Also provide the details of all build. On the other hand, RCov is very well known code coverage tool for Ruby. It is used to get the information of test coverage. These two tools are so good…
Liquid design : Importance and Considerations
The term “liquid” implies that a Website should flow smoothly into whatever space it is given. If you use a high resolution monitor, this may mean that you need to re-size your browser a little, which most people in that situation do. If you have a low resolution monitor, you will still see the information,…
Importance and considerations to make a user friendly web application
From my 4+ year’s professional experience I realized some important things to build user friendly website. Actually this will help to increase users of your website. These things are not big deal. Users first want a stable and easy application which is easy to use. After this they compare features with another application. Always assume…
Contact with me
Extract href links from a website content using regular expression
One of my previous post I have discussed about to Grab website content using cURL. In this post I have given a sample code snippet to extract all hyper links from grabbed content using regular expression. By using following class you can grab site content and extract all hyper links: class ScrapWebsite{ var $target_url =…
Grab website content using cURL
A website content can grab easily using cURL by following the steps below: Enable cURL Copy following codes in to PHP file Change target URL Run the page from webserver $target_url = “http://www.morshed-alam.com”;$options = array( CURLOPT_RETURNTRANSFER => true, CURLOPT_HEADER => false, CURLOPT_FOLLOWLOCATION => true, CURLOPT_ENCODING => “”, CURLOPT_USERAGENT => “spider”, CURLOPT_AUTOREFERER => true, CURLOPT_CONNECTTIMEOUT =>…
Memory overflow issue
I am writing this one to share my experience to you. In the very beginning of my professional career, I have developed an web application for Shylhet Chamber of Commerce using LAMP and delivered it successfully. Almost three months(Couldn’t remind exactly) later we have notified from client that they couldn’t log into the application. Then…