Ruby on Rails related cheat sheets

Nov 17
2006 07:32 (Ruby on Rails) · Русский (19,221 views)

There are couple of cheat sheets about Ruby on Rails and related technologies can be found in the web. I decided to collect all of them (almost all) in one post just to keep them in mind. All of them are in full color PDFs or PNGs.

Read the rest of entry »

In-place file upload with Ruby on Rails

Oct 28
2006 15:10 (Ruby on Rails) · Русский (63,684 views)

My friends often asked me how to upload file using AJAX, and usually they got answer “in no way”. Correct answer, but what if I need to upload file without full page reloading? And, of course, I want to use RJS in this case. Here I’ll explain what to do to get effect very similar to AJAX file upload (btw, Gmail uses this technique).

Read the rest of entry »

Extending moo.fx with custom effect (fx.Flash)

Apr 29
2006 10:54 (JavaScript) · Русский (16,342 views)

Several days ago my best friend Alexey Kovyrin asked me to help him to create flashing effect on HTML page. I gave him advice to create this effect using moo.fx library. I wanted to show how to extend it, but I couldn’t keep from creating this effect myself.

moo.fx is a superlightweight, ultratiny, megasmall javascript effects library, written with prototype.js. It’s easily to extend it with custom effect and in this post I will show you how you can do this. In this article I’ll show how to create flashing effect: element’s background will smoothly change from one color to another and go back to first color (maybe several times).

Read the rest of entry »

AJAX-enabled Smarty plugins Part 2: ajax_form

Feb 21
2006 09:47 (AJAX, PHP) · Русский (32,785 views)

In my previous post I’ve described several simple AJAX plugins. Now I’ll show how to use one of them — ajax_form — in real applications. I think this is the most powerful plugin therefor I’ll dwell on it more elaborately.

Read the rest of entry »

Prototype Dissected

Feb 20
2006 13:42 (JavaScript) · Русский (8,398 views)

Jonathan have dissected Prototype in a very nice graphics, this will give you a better view of the code and how it works.

In getting to know Prototype a little better, I decided to go through the latest version of the Prototype library (1.5.0_pre0) and detail every method and property that was available. In doing so, I got a much better understanding of how the code works (and how to work with library).

Prototype Dissected

 
Copyright © 2005 - 2008, Dmytro Shteflyuk