Blog

Blog Archives

Years

2012 2011 2010 2009 2008 2007 2006 2005

Categories

Development
General
Hosting
News
Politics
Tutorials

Authors

Eugene Lazutkin

13
Aug
2012
Slides: optimization of modern web applications
Posted by Eugene Lazutkin in Development::Web ...

I spoke at ClubAjax about optimization of modern web applications. Usually I speak about theoretical matters, but this time I decided to go practical. This is a huge topic and it was blogged/debated/presented to death, including my Improving performance…. Yet I decided to add to it after realizing that many things have changed in last years, including how we build web applications. I concentrated on technical aspects completely bypassing all other areas (e.g., a psychological angle).

[Read more]

28
Jul
2012
More on "0ms timeouts"
Posted by Eugene Lazutkin in Development::Web::AJAX

Once I wrote a blog post On JavaScript, EDP, and 0ms timeouts, which discussed a "smart" trend to pepper code with timeouts of … 0ms: setTimeout(f, 0)  . Authors of those "programming pearls" genuinely believed that this code reschedules a function call to the next available time slice after the code that set the timer was executed without introduction of a delay (after all it is 0ms!). In reality a typical delay was 10-20ms. With new generation of browsers it starts with 4ms and jumps to 1000ms for non-current/hidden tabs.

[Read more]

17
Jul
2012
OOP in JS slides
Posted by Eugene Lazutkin in Development::Web::AJAX

Once again I was invited in ClubAjax to speak about JavaScript. This time I did a presentation based in part on my previous blog post OOP and JS. Slides and talk revisit OOP, mixins, AOP, chaining, and other related techniques I discussed in my blog. Of course, OOP deficiencies were discussed at length too. I suggest to look at slides and read the blog post — it will give you a better picture.

[Read more]

18
Jan
2012
OOP and JS
Posted by Eugene Lazutkin in Development ...

Almost any Java programmer, who starts to study JS groking its OOP facilities and a dynamic nature of JS, thinks that they can be greatly improved and starts its own OOP library/helpers. Majority of them left forgotten when their authors learn more and more details and patterns of JS, yet some grow to fruition and being marketed. This article is dedicated to such people.

The goal of this article is to go over common OOP techniques suitable for JS, their pitfalls, problems, and trade-offs.

[Read more]

13
Mar
2011
Using Dojo Rich Editor with Django's Admin
Posted by Eugene Lazutkin in Development::Python::Django ...

Many years ago I decided to replace plain text areas in Django's Admin with rich text editor, so I can edit HTML on my blog using WYSIWYG. Six (yes, 6) years ago I looked around and selected TinyMCE. Over time it turned out that I was forced to upgrade TinyMCE and the link script I had because new browsers continue breaking my rich editor editing. Finally it stopped working again in all modern browsers, and I decided that enough is enough. It is time to replace it. This time I settled on Dojo's Rich Editor hosted on Google CDN — simple, functional, less work to set up.

[Read more]

15
Mar
2010
What happened to Dojo in 2008?
Posted by Eugene Lazutkin in Development::Rants ...

What happened to Dojo in 2008? This question was asked on StackOverflow. This is my personal take on the matter: on Dojo, jQuery, history, mistakes, marketing, social vs. technical, and communities.

[See details]

04
Mar
2010
Exciting JavaScript Part II
Posted by Eugene Lazutkin in Development::Web::AJAX::Dojo

This month I continued my presentation at ClubAJAX. Last time I did a survey of what is available in JavaScript, and concentrated on object-oriented (OOP) and aspect-oriented (AOP) techniques. This time I continued the survey, and talked about functional programming (FP), and domain-specific languages (DSL). And as promised I touched the code generation facilities too.

[Read more]

10
Feb
2010
RAD CRUD
Posted by Eugene Lazutkin in Development::Web::AJAX::Dojo

Today at dojo.connect I did a presentation "RAD CRUD": rapid development of form-based applications. It continues my other presentation "CRUD with Dojo", but it is more in depth, targets Dojo developers, and contains some advanced material.

[Read more]

05
Feb
2010
Exciting JavaScript Part I
Posted by Eugene Lazutkin in Development::Web::AJAX::Dojo

I was asked to talk about advanced JavaScript techniques at the last monthly meeting of ClubAJAX — monthly get-together of Dallas-area JavaScript programmers. Instead I ended up talking about leveraging cool JavaScript features to implement well-known programming techniques and paradigms: OOP, AOP, FP, and so on.

[Read more]

08
Dec
2009
Dojo Charting demo: tribute to Highcharts
Posted by Eugene Lazutkin in Development::Web::AJAX::Dojo

Wolfram Kriesing asked:

Somehow I have the feeling that you can bend dojox's charting module to look and feel like http://highcharts.com/ — will be for free.

Yes, it is relatively simple. To prove a point I wrote a quick-and-dirty demo available here: Tribute to Highcharts. Obviously not everything matches 100%. Go and judge for yourself.

Update: related post on dojo-dev mailing list, which explains some details of the demo.

[See details]

02
Dec
2009
CRUD with Dojo
Posted by Eugene Lazutkin in Development::Web::AJAX::Dojo

My presentation at ClubAJAX got off to a rocky start: I was let in the building 40 minutes after I was supposed to start the presentation. Everybody waited patiently. Thank you guys! As promised I publish slides along with relevant links (I had to skip most of planned demos).

[Read more]

06
Aug
2009
Adding django-shorturls
Posted by Eugene Lazutkin in Development::Python::Django

Time to time I sync my blog software to the Django trunk and introduce small enhancements. Some of them visible to my readers, some of them are just for me. This time after reading Simon Willison's post on rev=canonical I decided to add short URLs to my blog as well. This is a convention to provide custom short URLs managing the mapping on your own web site. In my opinion the idea is very cool.

[Read more]

10
Apr
2009
The many benefits of pot
Posted by Eugene Lazutkin in General::Rants

Steve Yegge is one of the bloggers I read almost religiously. His posts are full of insights on the software development topics and in general, and he is always ready with an amusing anecdote from his rich life. His last post Have you ever legalized marijuana? didn't disappoint either. The author explains "Shit's Easy Syndrome" (a difficult topic even for seasoned bloggers) in a gay romp that takes a reader from a light-hearted review of a book on "bugs in our mental software" to hapless VPs to many technical difficulties of legalizing a psychoactive drug extracted from the plant Cannabis sativa. But the most entertaining and educating part is the incredible story of the author's life.

[Read more]

01
Mar
2009
JavaScript explained
Posted by Eugene Lazutkin in Development::Web::AJAX ...

Explaining some dark corners of JavaScript, browsers, or Dojo for the 100th time I realized that I already did it on numerous occasions, and some of my answers are published on public web sites. So I decided to round up the most general ones I posted on StackOverflow and publish links to them here for a future reference.

[Read more]

04
Dec
2008
Trying out Google Friend Connect
Posted by Eugene Lazutkin in Development::Web ...

As you may know today Google released Friend Connect. I decided to give it a try. It took about 20 minutes to set up my blog with 4 gadgets: Members, Sign In, Rate/Review, and Wall/Comments. It took about 30 minutes to separate the skin from all these widgets, and set up the Canvas so users can see gadgets in a separate window, if they want to.

[Read more]

Made with Django.