Archive

Archive for the ‘Computer and IT’ Category

Load JavaScript File Dynamically

December 2nd, 2007 No comments

So you have been programming with JavaScript? Usually programmers write the JavaScript code in the header of the HTML page or load it externally:

But sometimes there is no need to load some of the JavaScript codes because it won’t be used on the page. That will waste you unnecessary bandwidth and will cost your website users their precious time.

The solution is to load the JavaScript file dynamically only when is required. Ed Eliot posted an article shows how load a JavaScript dynamically. However, loading the JavaScript file asynchronously causes some problems when calling a function written in the loading file. Ed Eliot has written his idea on how to solve this overwhelming problem. He simply uses the event handling to check whether the file finished loading or not. Read more about this in his article.

Categories: General Web Development Tags:

Be A Better JavaScripter!

December 2nd, 2007 No comments

An article for beginners on how to write a better JavaScript code and be a better programmer. It talks about a better way to use getElementByID and to add events. How to write a better send request (for Ajax) and better way to change styles is also a part of the article. It is a small article, so there is no harm for experts to read it and extend their knowledge.

Categories: General Web Development Tags:

Wael Abbas Is Back!

December 2nd, 2007 No comments

If you have been reading news lately, you might know that Wael Abbas, a journalist who posted videos about police brutality and tutored in Egypt. He got his account shut down on YouTube and few other websites such as Yahoo. After a week of international pressure, YouTube finally agrees to restore his account. Here’s the YouTube official response to Fox News:
“Having reviewed the case, we have restored the account of Egyptian blogger Wael Abbas — and if he chooses to upload the video again with sufficient context so that users can understand his important message we will of course leave it on the site.”

Categories: Computer and IT, General, Politics Tags:

The Flex Drop Shadow

December 1st, 2007 No comments

Switch blog has a new tutorial post which shows how to create shadows for UI components in Flex. Shadows have become more popular after the release of Visa and Leopard with their ‘shadowed’ dialogs and windows.

As many of you know, Flex is mainly for creating Rich Internet Applications (RIAs) using Flash technology. Anything done in Flex can be also done in Flash. But Adobe wants to make life easier for web developers by making Flex a more coding environment and more easy to programmatically create your UI.

Categories: Flash/ActionScript/Flex Tags:

The Principles of Beautiful Web Design – Special Limited Edition

December 1st, 2007 No comments

I’ve already read this book as previously stated and I’m a fan of it. I loved this book and I’d read it over and over. I think it is one of the best books out there for web developers. I have already read this book as an E-Book, but now SitePoint has a Special Limited Edition of this book with Hard Cover. The limited edition includes a free PDF file and a free Hexadecimal Color Card. Hurry and purchase this awesome book, there will only be 1000 copy for the signature edition. Luckily I was one of those 1000!

Categories: General Web Development Tags:

Flash Lite 3 Developer Edition is Now Out!

December 1st, 2007 No comments

Big news for the Flash community, developers can now download the new Flash Lite 3 Developer Edition stand alone player. This is a prerelease version for developers to test their Flash applications before mobile phones start shipping with full version of Flash Lite 3.

Technically it should work on any Nokia S60 3rd edition or later devices. Adobe has not certified Flash Lite 3 Developer Edition on any other Nokia S60 3rd edition devices and cannot guarantee that the player will work on them. Other Nokia S60 3rd edition or newer models include: 3250, 5500 Sport, 5700, 6110 Navigator, 6120 Classic, 6121 Classic, 6290, E50, E51, E60, E61, E61i, E62, E65, E70, E90, N71, N73, N73 Music Edition, N75, N76, N77, N80, N80 IE, N81, N81 8GB, N82, N91, N91 8GB, N92, N93, N93i, N95, N95 US 3G, N95 8GB.

Categories: Flash/ActionScript/Flex Tags:

Java + YouTube = Video Surfer Application

December 1st, 2007 No comments

Sure we know you can do YouTube mash-up with Flex but ever thought of doing it using Java?! Here’s a great article shows how to interact with YouTube from Java. The same simple Web 2.0 mash-up concept applies here when you use Flash and PHP to interact with YouTube as shown in my previous post [I can’t find it, it’s somehwere on my blog]. It’s all about reading XML and fetching the information from it. However, the “fetching” process happens on the background when you write your program using an API like the Google’s YouTube Data API.

I really gotta stop… my keyboard is running out of batteries! I had to press every letter for a bit longer to actually appear on the screen! Why I got the feeling that’s a wrong title for the post?!

Categories: JAVA Tags:

Comic: Tina The Tech Writer

November 30th, 2007 No comments

While I was surfing the web I came across this comic. Then a thought popped in my brainless brain (Is it?)… I was like “Crap! don’t I always write my codes in a hurry?!”. Yes, that’s a disease I got problem with. I’m sure in few years from now, when I’ll see my old codes again, I’ll feel embarrassed.

My point is, write a beautiful code. Oh man! Now 2 more thoughts popped on my mind. One of them is the Beautiful Code book from Oreilly!. Okay that’s enough, my brain is gonna be packed with new thoughts!

Categories: Fun Stuffs, Others, Programming Tags:

‘Six’ best web frameworks in Java

November 30th, 2007 No comments

Great article I found on the web shows the best six Java frameworks for web developers. The unfocused energy on Java frameworks has forced many developers to select a framework path they are unsure off. This article is so helpful for whoever want to get a small idea of best six Java web frameworks out there. If you are one of them, fasten your seat belt and start reading!

Categories: JAVA Tags:

Silverlight 1.1 is now Silveright 2.0

November 30th, 2007 No comments

All the hype and rumors surrounding Microsoft Silverlight in last few days has now come to an end. Microsoft announced that SilverLight 1.1 will be now named SilverLight 2.0. The second installment of SilverLight (Microsoft’s-damn-freaking-way-to-monopolize-the-market) will support C# and Visual Basic of the .NET Framework which is a big plus. That’s a big move from Microsoft to beat down Adobe Flash.

Silverlight 2.0 is still in the development process and will take time to be out in public but the alpha release is out. Many firms and businesses are adopting Silverlight (instead of Flash) for their web applications due . But Flash still dominates the World-Wide-Web with a penetration over 93% for Flash Player 9 and over 99% for previous versions.

The battle between Adobe and Microsoft is still going and Microsoft is catching Adobe fast. If Adobe doesn’t do something fast they could lose this war. Oh god, I can feel the tension between Bruce Chizen and Steve… not that Steve, I meant Steve Ballmer. I don’t expect any gracefulness from anyone of them to the other, but I expect them to speed up the RIA (Rich Internet Application) development process and start working on getting rid of bugs been out there for years!