Tag: HTML

Theme PhoneGap and Cordova for Android Lolipop

I have posted about theming Cordova / PhoneGap to look like native Android before but at the time Android Lolipop and the Material design were not out.

Since then the world of Android has changed a lot. Google has created a new UI design which developers are using to design their applications. It’s nice looking, elegant, and simple.

But I’m not a great mobile developer. I can make Android do pretty much whatever I want, but it takes me substantially longer to write an Android application than it does for me to write a web application. Because of that I like to rapidly prototype my applications in Cordova first and sometimes keep them in Cordova because of the ability to have one codebase that covers multiple platforms.

But web applications always tend to look like web applications and not native.

That is what Materialize is trying to change, and doing a damn good job at.

Continue reading

HTML5 Is Recommended!!!

It’s time to break out the Champagne and celebrate because today the WC3 has released the fifth major version of the HTML specification and with this specification comes the recommendation from the WC3 to start using HTML5.

While HTML5 has been a specification for years it wasn’t until today that the WC3 has officially told developers to start using it.

By this point most developers and browsers are already supporting HTML5 with minor exceptions when it comes to video and audio support.

I’m honestly very happy that HTML5 is official. Now I just need to wait a bit longer until ECMAScript 6 gets released and all my front end problems will be solved.

Theme PhoneGap and Cordova for Android

Cordova is a great platform for building native feeling mobile applications on Android and iOS with web technology like HTML, CSS,
and JavaScript. But what about the getting the native look out of these applications?

Obviously you have to use or write a CSS library which include all the UI components from the Android system and styles the appropriately.

Luckily developers have already created these types of frameworks and today I’m going to explore two of them for making web and Cordova applications look like native Android applications.

Continue reading

Frontend Routing with Sammy.js

Traditionally web applications were built using backend technology. A request is made to a server and based on the URL being requested the server responds by generating a resource, usually HTML.

To do this servers need to “route” requests to different resource generation logic. This logic is what backend developers build.

This worked well for many years, but as browsers became more advanced code started being moved from the backend to the frontend.

Continue reading

Making Desktop JavaScript Apps with node-webkit

Update: node-webkit is now called NW.js and uses io.js and Blink instead of Node.js and WebKit. All other information is still correct.

JavaScript can be run in a browser normally, on a server with Node.js, and on mobile devices with Cordova, but where else can we use JavaScript to program?

Well, plenty other places, but the last big place to write programs is the desktop and today I’m covering writing desktop JavaScript applications with node-webkit.

Continue reading

Making Mobile JavaScript Apps with Cordova

Last time I covered what Node.js is and briefly covered creating server side JavaScript applications with it. But as part of my recent desire to write everything in JavaScript I have also started writing mobile applications in JavaScript using Cordova.

I’ve written mobile applications in various technolgies and even have some on the Google Play Store, but I like writing mobile applications in Cordova more than other technology I’ve used, which are Java and Flex with Adobe AIR.

Continue reading