DevTutorials.info

Blog for ASP, ASP.NET, PHP, JAVA, RUBY Developers


 

Merb vs Ruby on Rails

  • Filed under: ruby
Friday
Dec 9,2011

Merb and Ruby on Rails are MVC web application frameworks written in and for Ruby. Both have similar directory structures and concepts. Ruby on Rails (RoR) is more featured while Merb aims to be simpler and more modular. Merb and RoR are merging development efforts and will be one product for Merbv2/RoRv3

Merb

Like Ruby on Rails, Merb is an MVC framework. Unlike Rails, Merb is ORM-agnostic, JavaScript library agnostic, and template language agnostic, preferring plugins that add in support for a particular feature rather than trying to produce a monolithic library with everything in the core.

Merb is also thread-safe and was originally engineered to handle multiple file uploads concurrently.

Rails

 

RPM Source for PHP 5.3 for centOS

Monday
Sep 5,2011

Many system admin is looking for latest PHP reelease for CentOS based servers. Webtatic.com has been release PHP 5.3 RPM. You may get setup help and source from following blog entry.

 

CSS image replacement for submit buttons

  • Filed under: Genel
Sunday
Jul 17,2011

Expanding the techniques for CSS image replacement by Mike Rundle and Seamus P. H. Leahy, and inspired by a question posted to the WebDesign-L mailing list, I have developed an image replacement method for submit buttons, and in general for the button tag.

Read the rest of this entry »

Sunday
Jul 17,2011

This screencast will show you how to use a Ruby script to connect to a MySQL database. I use Ruby version 1.8.7 and the mysql gem version 2.8.1.

Using a Ruby script to Connect to MySQL Database

Sunday
Jul 17,2011

When you are making a web page, the easiest way of view a page stored in your hard disk is double-clicking in the file, which usually results in the page being opened in your default browser. Although this method (which I still use sometimes) it’s good enough for simple static pages, it’s not useful if you you are using server side languages (PHP, Perl, ASP…), or even for pages that are static but use links relative to the server root (like “/index.html” or “/css/styles.css”). In this situations the solution is either upload the files to the server of your web host (quite cumbersome, and not feasible or desirable if the site is already open to the public) or set up a test server in your local network/computer, which is the quick and safe way of testing your design changes.

Read the rest of this entry »

Sunday
Jul 17,2011

If you have data that you need to bring into your MySQL database, there are a few ways to do it. Exporting data out of mysql is another topic, described here.

Read more