Developing PhoneGap mobile project. From start to finish

This is the first part of the tutorial. Second, Third and the last tutorial parts can be found by following the links.

After receiving good reader feedback for HTML5 widgets tutorial for iOS digital books today I’m starting with new tutorial for developing hybrid mobile applications with the help of PhoneGap framework (or Apache Cordova wrapper as some people like to call it).

The goal is to create a fully working and somewhat useful mobile application from the ground up. To make things more interesting and useful for our readers I’m planning to implement (and go into technical specs) today’s most used mobile application functions. Web services (the way for client devices to communicate with servers and each other over the World Wide Web network), Authentication (after which mobile applications can consume online resources on behalf of third parties), Geolocation, Maps and on device Storage.

I’m estimating that it will take little bit of time to get to the end of the project and to write everything in blog post format. Therefore I will split this tutorial into several parts and will publish them separately here on htmlcenter. It will make it easier to follow for everyone who is reading as well.
You are much welcome to join the discussion any time by posting comments or asking questions. There is much work ahead so lets get started!

Creating HTML5 widgets for Apple iBook applications

Recently I had a chance to take a closer look at relatively new tool for creating interactive iPad tablet reading experiences called iBooks Author. It was released by Apple in January 2012 and is aimed at book authors and publishers to allow for an easy publishing of their books on Apple iBook platform. Application supports its own format .ibooks as well as .pdf and .ePub formats for exporting.

But what really caught my attention was the possibility to embed interactive elements inside actual ebooks. It can be done in the form of HTML5 widgets, with CSS styling and JavaScript support for building interactivity.  As it was a good fit for one of interactive digital mobile content projects we will be crafting at PopularOwl and I went through the process of creating and adding HTML5 widget to iBook project to understand how it all comes together.

In this tutorial I’m going to walk you through the steps for building fully working HTML5 widget to be used in iBooks Author projects. This sample widget will help eBook authors to easily add social follow option to their digital books so their readers can interact from within the eBook.

Source code for finished widget project is located at the bottom of this tutorial, feel free to download and test it. The final result:

html5 widget in ibook author

We have got new looks

Late last month I have posted about HTMLCenter redesign project we started few weeks ago. Well, as you might have already noticed we went live with new looks. There is still ongoing work happening and I’m continuing to add various bits and pieces (we are big fans of agile approach to things) but the main site design changes are already in place.

It is mobile first design. We wanted HTML Center to look great on multiple mobile devices as we have noticed constantly increasing number of our readers accessing site through mobile Internet browsers. Most likely these are just going to become main tools for reading content on the web as mobile first is becoming the norm these days. And responsive design so far is the best answer to multiple mobile screens and growing variety of mobile devices out there.

Roundup for many things

It’s totally not boring to watch client side programing language space these days. New libraries, frameworks and applications are being created almost daily. Not to mention constantly growing and evolving old ones. Lots of time all this information is getting buried because other, more important things float on top in overall information flow. For some time now I’m using tools like Instapaper and Toodledo to capture and organize all read worthy bits of information about interesting releases, updates and projects. So I thought it might be a good idea to share some of them in monthly roundups here on htmlcenter and accompany them with some short comments.
Lets just start and see how it goes.

We have been quiet for couple of months

We have been quiet for few months here at htmlcenter.
There are couple of reasons for this radio silence and I’m sure both of these reasons mean some positive things for this blog.

First reason is that Allen who was original founder and started htmlcenter back in 1998 (its true, this site was started even before dot.com meltdown happened!) decided to do something different and gave the keys from this blog to new owners. It gives us a chance to give this site well deserved push forward with some new and fresh ideas.

Facebook Launches Full WordPress Plugin

Earlier today Facebook announced that they have launched a full WordPress plugin. The Facebook developer blog has a full overview of the plugin which is available now from within the WordPress admin plugins page.

The plugin allows you to post directly from WordPress to your Facebook profile. The plugin also allows for Facebook comments, Facebook like button, Facebook share button along with an activity option.

To use this plugin, you need to setup your blog as an application inside of WordPress and then link  up your Facebook account with the plugin if you want the full functionality of the plugin.

One important note – when I added the Facebook plugin to one of my blogs – the like button completely removed ShareThis and the Facebook commenting option completely removed the regular WordPress commenting option.

 

Pages:

Developer Resources