ASP.NET MVC file uploads using Valums Ajax Uploader plugin

April 8, 2012 · Posted in Development · Comment 

File uploading is one of the common tasks in web development.

One of the best scripts for file uploading is valums/file-upoader.

 

Read more

Dynamic connection to MySQL database in Ruby on Rails (mysql2)

April 7, 2012 · Posted in Development · Comment 

Read more

Getting started with Redis in ASP.NET under Windows

March 25, 2012 · Posted in Development · Comment 

Redis is one of the fastest and most feature-rich in-memory key value data stores.

Read more

How to pass multiple attributes to find_or_create_by in Rails 3 : the Ruby way

March 23, 2012 · Posted in Development · Comment 

Ruby and Rails have many magic features like blocks/closures, duck typing/mix-ins/modules,  method_missing, poetry mode.

One of the common tasks in programming web applications on Rails is finding a row in a table by several columns and creating a new row in case of row is missing.

Read more

Ruby metaprogramming and own custom attr_accessor

March 3, 2012 · Posted in Development · 8 Comments 

Ruby is a dynamic language, that’s why you won’t get compile time type warnings/errors as you get in languages like C#.

Ruby has a lot of metaprogramming features allowing you to create your own custom methods on the fly which can be used the same as att_accessor.

Read more

Best Practices of Naming in Code

February 25, 2012 · Posted in Development · Comment 

Read more

How Developers spend their work week

February 3, 2012 · Posted in Development · Comment 

Read more

PHP vs Ruby vs Python (Infographic)

January 23, 2012 · Posted in Development · Comment 

Read more

How to determine if a record was created or updated in after_save callback (Ruby on Rails)

January 21, 2012 · Posted in Development · Comment 

sometimes in after_save callback it is needed to determine if a record was created or updated without the use of after_create callback.

Read more

update_attribute, update_attributes and update_column (Ruby on Rails)

January 21, 2012 · Posted in Development · Comment 

Read more

Next Page »