Archive

Archive for the ‘General Web Development’ Category

Encode your JSON data before sending it

January 18th, 2012 No comments

A problem I was facing recently, that the JSON was being receive properly on Firefox 3.6 my work development machine. Finished the project and deployed it. I haven’t tested it on other machines, how clever am I?! I opened my laptop to see how it would appear on other browsers, and shockingly, it wasn’t working at all!

After spending hours trying to locate the line where the error occurs and find out what’s the problem it turned out that I have to decode the JSON output before sending it. I wasn’t using any PHP built-in functionality for JSON, that’s because at work, we are still using PHP4 which has none. I was basically writing the JSON output explicitly. The text output can contain some special characters that need to be encoded and escaped before sending it. After digging around a bit I found out a solution from this post. Everything is pretty much explained there.

In a nutshell, you’ll have to use json_encode() to encode the data from an array and then output it. A JSON library is provided along with that post. There is also a decoding function, but I haven’t use it since I’m receiving my data on a javascript.

Singularity Global Web Conference

July 18th, 2008 No comments

It has been sometime now we have been waiting for this announcement. Tickets for the web based conference, Singularity 2008, is now available for sale for $99 USD.

Aral Balkan has been working hard to make this project happen and it is finally happening. This conference is a web-based, means you can attend the conference from your PC without the need to travel.

Adobe Dreamweaver CS4

June 7th, 2008 No comments

For all fancy web developers in the globe, Adobe has announced Dreamweaver CS4 beta which is now available for public testing. If you are a Dreamweaver fan or you are a programmer geek race then you might want to grab this software.

Meet Dreamweaver CS4 beta

Free Photoshop Book

June 6th, 2008 No comments

Sitepoint and 99designs are offering a free complete book, The Photoshop Anthology: 101 Web Design Tips, Tricks & Techniques. This book is aimed for web developers looking forward to add Photoshop in their technique basket. It is available for a limited time. Hurry and grab it now! 
As for me, I have a week off between summer and fall semester. I’m going to get my hands dirty with books and programming! This book should be a good start. Long live fall break…

Categories: General Web Development Tags:

OpenSocial Has Been Formed!

March 27th, 2008 No comments

Google, Yahoo, and MySpace announced today the formation of OpenSocial Foundation. It is a move to help web developers build better social applications using OpenSocial API.

In my opinion, I think this is a big step towards Web 3.0 as some predicts that the World Wide Web will be seen as a single database in the web 3.0 era.

IE8 Beta Goes Gold

March 15th, 2008 No comments

Microsoft, if you had read my last few post you’ll know they are dancing, has announced the launch of the first beta release of Microsoft Internet Explorer 8. More support for semantic web structures, therefore, web developers will find this beta version very useful especially if they want to keep up with latest technologies and weeding out the fads. Grab the browser here and add more tests in your testing environment arsenal!

10 Principles Of Effective Web Design

March 4th, 2008 No comments

I have heard recently that Angelina Jolie recently revealed that she doesn’t know how to turn on a computer although she acts as the famous Lara Croft, an adventurer and sadly a computer hacker.
Anyway, I found out this great article on how to make a good web design. The article also explains how users interact with different web site design styles and it also gives 10 Principles of Effective Web Design… I don’t really have time to write more about it :p

Categories: General Web Development Tags:

Browseshots

February 25th, 2008 No comments

Good web developer takes care of as much as possible of users browsing there web site whatever OS or web browser they are using. A good tool to do that is Browsershots that gives you a screenshot of many browsers and different version of every browser.

Categories: General Web Development Tags:

Dojo Tutorials

February 20th, 2008 No comments

I found this great source of tutorials for anyone who’d like to learn a new JavaScript and Ajax framework. RoseIndia has a whole section in its web site just for Dojo Tutorial. A great free way to learn Ajax with step by step tutorials but you must have some knowledge in using JavaScript.

Categories: Ajax, General Web Development Tags:

Happy Birthday XML

February 14th, 2008 No comments

Believe it or not, XML is 10 years old! Happy Birthday!
More…

Categories: General Web Development Tags: