When Not To Use Drupal? Drupal is an amazing system, with a huge community.
So why not use Drupal in every project you'll build? because Drupal is content oriented - everything is based on nodes. and it can get really ugly...
Read more
My Experience With Backbone.js I will start with saying that i really like Backbone.js, It makes tour code flow more elegantly. Re-using code in Backbone.js is easy - just call the event that handle that.
I didn't like so much the...
Read more
Starting With Backbone.js I fell in love with Backbone.js... I mean, I just learned 3 function and I already LOVE IT!
I always liked an event driven approach, and I have implemented my own on my projects, Seeing that the basics...
Read more
Starting with Underscore.js Well underscore.js is really straight forward.. and it'd documentation is great!
It's easy because all it does is supplying some function for the developer to use when he write his JavaScript. function...
Read more
Backbone.js & Underscore.js Here I Come O so I heard a lot about the usage of Backbone.js and decided to check it out, as it says in the Backbone.js website - Backbone's only hard dependency is Underscore.js.
I like to know stuff and because...
Read more
PHPStorm released a new version Jetbrains just released the new version of PHPStorm 3.0. I took a ride on the trial version and it looks great.
The PHP autocomplete is so smart and so useful. It easy to set up your project. I really...
Read more
Host Your Git Repository for free I found this cool website that you can host your Git repository for free, and it is secure, that mean that it is your private repository that you can share with others but only with the ones you want.
That...
Read more
Zuckerberg Q&A A very nice interview with Facebook founder and CEO Mark Zuckerberg from yesterday Y combinator's Startup School. Go to minute 43 to see it, but I suggest to see the whole video. (first few minute are...
Read more
How To Start Implementing Your Idea After working on a few complex project that started from scratch. I can say that the first big challenge is to know where to start.
Think And Save Your Thoughts
Think, and then think some more, and...
Read more
Another Problem With Quirks Mode On IE7 I thought that with 'document.compatMode' it will be enough to detect the IE Quircks Mode. But as it turns out - it isn't!
The 'document.compatMode' command could return the usual 'BackCompat' if it...
Read more
Google Web Fonts API The Google web fonts API is so cool!! You can do very coll things that until now you could do only with images.
(Google didn't invented anything new - they just created a VERY cool API that is easy...
Read more
Nice Image With jQuery OK - so I wanted to create a nice "wow" effect when the images are loaded into the page.
The only limitation was that the client wanted that he could still add images easily, and that the change would...
Read more
Is The iPhone Supports CSS2 Fully? Well this post started with a bug I found in the iPhone/iPad browser.. I am also not the first to write about this bug. OK - Apple always talking about going HTML5 and supporting it.
I Think that a basic...
Read more
Bug Of Safari 4.0.3 On Windows I was trying to modify an element height with JavaScript, It worked on all browsers, even IE6. except on Safari for windows (Safari for Mac was cool too...),
This bug was really hard to find - it is...
Read more
Animations And DOM Changes Yesterday I worked on a simple animation, it didn't worked properly - it was just a simple slide-in with an absolute position. and from some weird reason it was not fluent - it just kept on "hiccup" at...
Read more
Slideshow With JQuery Now this is a cool plugin for jQuery! it has amazing slideshow transition effects out of the box. It currently has 12 different type of transition and I must admit - it looks amazing!
The WOW Slider...
Read more
The Hell With Quirks Mode Why ohh why? It's not like IE is making our developer life better, but the quirks mode is making them a really pain in the &$#!!
I am currently working on a new product that need to stick on the...
Read more
JavaScript - Browser Detection A lot of times I need to know what kind of browser the user uses and according to that I do things differently. Sure, most of the detection is testing if it's IE or something else - but there are case...
Read more
How To Learn JavaScript? There are a lot of resources out there that will teach you Javascript. Most of them are OK for the basics, but for the more complex stuff it if really hard to find good resources.
A lot of them promise...
Read more
Javascript - Do we really need it? I encounter a lot a specific question of people who want to "build a website" - What do I need to learn in order to build a website? and truly there is no one special answere..
Here is the long version...
Read more
Cross Domain Calls Well, most programmers don't encounter the cross-domain problem in a day to day life. But the first time you deal with it it looks like the biggest curse of client side programming. It can get really frustrating...
Read more
Canvas - conclusions Well.. after playing around with the canvas feature of HTML5 - I have a few conclusion:
It's easy to use when you get deep into it. the basic is easy for everyone - but - If you want to take it to...
Read more
Canvas - Extra Effects On Object Canvas Object Shadow
You can assign shadow to any shape / image, even for contours... The use of shadow is easy as everything else.
ctx.shadowOffsetX = 2; // X axis distance
ctx.shadowOffsetY = 2; //...
Read more
Canvas - Creating Text Beside creating shapes you can also draw text on the canvas. We have lot's of control on how the text will look like. We can control the font type, size color, position and the angle of the text. the filling...
Read more
Canvas - Filling The Shapes We now know how to create shapes, filling the shapes is even easier...
Just use the fillStyle property. You can use the fillStyle in a few ways, the most basic way is assigning a color to it. the color...
Read more
Canvas Curves - Putting It All Together Now that we learned the different types of the curves, all there is left is to give an example that use it all.
It's easy to combine between the different types, actually it's easier to combine them than...
Read more
Types Of Curve Paths We already learned how to draw a line, and how to draw a few lines (path) together in the last post. There are few types of curves that we are going to learn about now.
The Canvas Arc
We already saw...
Read more
Continue With Basic Shapes In the canvas element there are a few types of basic shapes:
Rectangles
Lines
Rounded curves (Circles - but I call them rounded curves because they don't have to be closed... you can specify the...
Read more
Starting With Basic Shapes How to create a rectangle with border?
well the example in the previous post was just to intrigue your mind about the use of the canvas, to create any shape on the canvas it's a good idea to start with...
Read more
Using The Canvas With JavaScript After we have our canvas tag in it's place we need a way to interact with it in JavaScript, that's actually pretty simple:
// Get a reference to the element.
var elem = document.getElementById('myCanvas');
//...
Read more
The Canvas Element To start playing with the canvas you first need to add the canvas element in your HTML.
Just insert these lines where you want to position the canvas in your page:
<canvas id="example" width="200"...
Read more
Starting Point I thought a lot about what to write in my blog, I want to make it fun and informative.
I'm an experienced web developer with a lot of background in PHP, Drupal, HTML, CSS & JavaScript.
So, I...
Read more