Jade vs HTML: Why it matters

Jade vs HTMLOver the past 20 years the Internet has dramatically changed. We went from very basic and fully static websites to advanced web-based apps, with beautiful designs and intuitive UI.

HTML has been the foundation for the Web till the day one. Even though it went through multiple revisions, adding new features and “extensions,” the basic structure remained the same. Of course, it’s an application of SGML, but we don’t want to go that deep. It’s just a tool for developers and designers to create great projects. Continue reading

Secrets of End-to-end Testing with Meteor

End-to-end testing with MeteorHow often did you want to have a great end-to-end testing framework for your Meteor app, but couldn’t find one? There are several solutions available, such as Laika and Velocity, but they don’t really provide instruments good enough to test your app from the user’s perspective: click here, check if this label is displayed, then click there, then check this value, etc. Continue reading

4 Things I Wish I Knew When I Started with Meteor

MeteorIf you haven’t heard about the new framework for rapid prototyping and development, then you should certainly check Meteor’s website and the examples.

Meteor is very fun to write with, and it’s very modern and clean.

It’s not all rainbows and unicorns, though, and learning the “right way” of doing things might take some time. When starting with Meteor, I got stuck with problems that had no solution on the Internet – much more than once. Here I’d like to share the most common of them, the best practices, and the mindset you should have behind every Meteor project to turn it into a success instead of a big disappointment. Continue reading

Making a Change

Flying to Canada, towards the Change

Probably you’ve noticed lack of updates recently, and there was a good reason for that. My life has dramatically transformed over the past several months as I moved to a different country.

I don’t want to put you to sleep with boring details. Just enough to say that I’ve been working on making this move a reality during the past 3 years. The main reason for that was quite simple: I wanted to make a difference in the world, shaping it into a better place to live. Canada offered much more opportunities for doing that than Russia did. Continue reading

Capistrano + Rails + Bundler + RVM + Unicorn + EC2

Capistrano   Rails   Bundler   RVM   Unicorn   EC2In simple cases, if you use Heroku, application deployment process can be as easy as one shell command. But Heroku does not provide enough scaling and flexibility for more advanced scenarios or more serious load.

If you need to test something and then be able to expand to thousands of requests per second, EC2 from Amazon Web Services is definitely the way to go. It provides you with a virtual system which is totally under your control. You can add additional storage, move storage between servers and increase CPU/memory in almost real-time.

The downside, though, is that you have to setup the whole application infrastructure by yourself: from frontend servers to deployment scripts to security customizations. There is no preferable way of doing one thing or another, so here I’m offering what worked perfectly for me, and what I was not able to find while surfing the Internet for solutions.

Continue reading