Blogsite that talks about web Programming experiences,techniques and ideas for ASP,PHP,ASP.NET and Javascript.

Optimizing webpage load time by using CSS Sprites and Suturing

May 11th, 2008 by Roy L. `dshiznitz Besiera

Last night my boss (at night) was giving me some orientation materials and gave me task to do some research about optimizing load time of a web page. I am obsess with optimizing load time of web pages. In fact i optimized this website that it’s load time is already 0.16 seconds. I Remove some of the external scripts,optimized images and cached the pages since i do not update them in a day to day basis. I usually measure the load time of webpages and its components by using the firebug plugin for mozilla firefox. You can do that by observing the “net” tab. I have posted some screenshot here. So we were talking about our goal which is to make fewer Http request and i remember he asked me about it.

Boss: “Are you familiar with css sprites?”
Me: “CSS sir yes but i have no clue what is CSS sprites.”

And so another knowledge of incalculable value was added into my memory :)
Continue reading…

[del.icio.us] [DotNetKicks] [Digg] [Facebook] [Google] [MySpace] [Squidoo] [StumbleUpon] [Technorati] [Windows Live] [Yahoo!]

Posted in Web Standards and Principles | 1 Comment »

Utilizing Google API: Using AJAX Feed API

May 4th, 2008 by Roy L. `dshiznitz Besiera

I’m a fan of google. In fact i thought i couldn’t live without google. Google has been my best buddy specially when i am programming and i thought id make a saying out of it. And so, “With Google, nothing is impossible” (when programming that is)

I am enjoying a lot of client side programming lately and thought about utilizing some of the powerfull web services that google has came up with. So in these series of blogpost, i will try to share to you my enthusiasm on these existing web services from the big guys hoping we could find them significantly useful. So first stop AJAX Feed API.
Continue reading…

[del.icio.us] [DotNetKicks] [Digg] [Facebook] [Google] [MySpace] [Squidoo] [StumbleUpon] [Technorati] [Windows Live] [Yahoo!]

Posted in General Javascript Programming | No Comments »

Making Cross Domain AJAX Calls using Server Side Mediator

April 26th, 2008 by Roy L. `dshiznitz Besiera

XMLHttpRequest is the heart of all rich and interactive AJAX based application. However some restriction apply when making request to the server. Cross-domain ajax calls to another domain is not possible due to security issues. But i came up with an idea to utilize server side request to defeat the imposed restrictions on cross domain ajax calls.
Continue reading…

[del.icio.us] [DotNetKicks] [Digg] [Facebook] [Google] [MySpace] [Squidoo] [StumbleUpon] [Technorati] [Windows Live] [Yahoo!]

Posted in C#/ASP.NET Programming, General Javascript Programming | 1 Comment »

Unobtrusive Javascript Scripting

April 19th, 2008 by Roy L. `dshiznitz Besiera

I was reading through some book about javascript best practices and i was lucky enough to hit the jackpot. It’s called “Unobtrusive Javascript Scripting“. As always, i appreciate it when i learn new stuff though i am a bit late. But as they say “better late than never” (that saying doesn’t apply to me when i get late 3 times in a row in my current job).

So what is it? Well, as far as i understood, (and you can do a wikipedia lookup for that) its basically a separation of the presentation and the logic of a web page. The logic would be of course the javascript and the presentation would be (doesn’t take a rocket scientist to guess) the HTML fragments of set of tags. But wait, if i separate the two, how can i have interaction between the HTML elements that triggers the events which is usually handled by the javascript code?

Continue reading…

[del.icio.us] [DotNetKicks] [Digg] [Facebook] [Google] [MySpace] [Squidoo] [StumbleUpon] [Technorati] [Windows Live] [Yahoo!]

Posted in General Javascript Programming | No Comments »

jQuery and Me

April 12th, 2008 by Roy L. `dshiznitz Besiera

The long search is over. I finally found what i am looking for and this one is for keeps. Im obviously talking about jQuery Javascript Library or others may call it Javascript framework. Im sure im just one of the many javascript programmers out there that share the same feeling or at least. Ive tried a couple of Javascript frameworks and so far and i liked it. I’ll be unfair and biased if ill say that other libraries suck and this one is the best without even able to get a hold on any one of them. Ive tried a few and before i knew jQuery, it felt like it was really what i wanted to have. Not until i came across jQuery’s website and its documentation.
Continue reading…

[del.icio.us] [DotNetKicks] [Digg] [Facebook] [Google] [MySpace] [Squidoo] [StumbleUpon] [Technorati] [Windows Live] [Yahoo!]

Posted in General Javascript Programming | 2 Comments »

XML, Xpath and DOM

April 10th, 2008 by Roy L. `dshiznitz Besiera

Once i was asked by my boss to automatically detect feeds on a given website URL. Of course you couldn’t say “no” to your boss and said “right away boss :p”. I always understand that when your boss asked you to do something he does not need to know if the task is hard for you or not.

My idea is to read a website’s HTML and locate the tags link hoping the it is pointing to an RSS or ATOM Feeds, parse the XML feed and display it to the user as human readable data.
Continue reading…

[del.icio.us] [DotNetKicks] [Digg] [Facebook] [Google] [MySpace] [Squidoo] [StumbleUpon] [Technorati] [Windows Live] [Yahoo!]

Posted in C#/ASP.NET Programming, PHP Programming | 1 Comment »

« Previous Entries