Probably one of the easiest ways to test out code with minimum effort.
1. Pick a JS Framework or extension.
2. Pick the load event.
3. Give it a name and description (if you want)
5. Enter your HTML
7. Enter your CSS
8. Run it, save it, test it, play with it.
Visit JSFiddle and try it out.
You can also get the source-code under MIT, or get an extension for your browser or IDE.
Simply paste your ugly code into the website, pick your preferred settings (indentation for example) and hit the button. Lovely code will soon appear.
Visit JSBeautifier and try it out.
JSLint will go through your code, line by line, giving you an in-depth analysis of any potential problems.
Visit JSLint and try it out.
Look out for the second instalment…
Jo is a relatively new framework which was first released in June 2010 (version 0.0.1). In November 2010 they released version 0.3.0.
So what is Jo?
Using Jo and PhoneGap, you can create native iPhone/Android/Symbian applications which are both lightweight and responsive as well as pretty. Jo currently supports the follow platforms – webOS, iOS, Android, Symbian, Safari and Chrome.
Once I’ve had a chance to really play with this, I’ll hopefully post up some tutorials. In the meantime, here are some handy references.
I think it looks great, what do you guys think?
Although Adode Flash has improved performance-wise (arguably) recently and more people are upgrading to more powerful systems (desktops, laptops, notebooks, netbooks, tablets and other mobile web hardware) – still flash cannot offer what the world has been looking for. That is – even better performance cross-platform, more openness and better security (to name a just a few). Obviously the blanket ban flash has been given from some Apple products (think Iphone/Ipad) is not helping.
With the Iphone and Ipad selling like hotcakes, web application providers previously using Flash (or considering using it) need to have a serious think about the user reach. They could do the old-fashion thing – build a Flash web application and an alternative HTML 4 one. Or they could build one in HTML 5. Now that’s a hard one!
Sencha Animator comes as a desktop application used to create rich HTML5 animation. It’s currently in its infancy but could have real potential. There is one drawback at this point-in-time however; it requires a Webkit browser to work. This means it will work in Google Chrome, Apple Safari, Iphone, Ipad, Blackberry torch, Google Android and other Webkit based browsers. But it will not fully work in IE, Opera or Firefox. At least not until the CSS3 is fully supported (IE 9 claims support).
At this time, many of the CSS3 techniques used by Sencha Animator are Webkit only (i.e. it has things like: -webkit-text-fill-color and -webkit-transform).
Sooner or later all major browsers should support these… but just not yet.
After 4 years of the same wordpress theme, I decided it was time to bring in the 2011 with a new look Ajax Tutorial website.
It took just a few hours looking at the free wordpress themes available, then I found this one. I liked it instantly. Hopefully you will like it to. So far, I’ve made very slight modifications (had to reduce some text sizes).
I’d like to thank Vladimir Prelovac for providing this GPL theme. Thank you man!
In this post I’m going to explain how I usually set-up a simple PHP website, from scratch.
This is part one of two.
Brief summary of the main steps involved.
1. First we will create the HEADER – this will be the area occupying the top of the page, and will include the logo and top level navigation. It’ll also contain the HTML meta data (page title, description and keywords) which will dynamically change depending on the page.
3. We will create some content pages and hook into the HEADER and FOOTER.
My very first step before I start any coding, is to create a graphical mock up design and logo. I usually use a graphics package like Fireworks, Photoshop or Inkscape (free and extremely good). Below is a quick mock up design I created earlier for a fictional website called ‘MyWebsiteTemplateExample’.
After I have my idea ready, it’s time to create a template HTML file. Here is what I do…
1. Crop the logo (and any other images) from the mock-up design and save them to a folder called ‘images’.
2. Take note of the colors used in the design (most graphics tools can give you the HTML color code).
3. Create the HTML of the mock-up (I’m not going to teach you HTML, that’s too much for this post. Use a WYSIWYG if you have to).
4. Create a CSS file to hold all the styles used on the basic page. Save it in a folder called ‘styles’.
Now, that will keep you busy for a couple of hours, at least.
In part two, I will show you how to create the HEADER, FOOTER and CONTENT pages from your basic template. Once you’ve created one page, the rest will take no time.
Fear not, part two will be available very soon.