background preloader

Douglas Crockford's Wrrrld Wide Web

Douglas Crockford's Wrrrld Wide Web

HTML5 vs Native: The Mobile App Debate Introduction Mobile apps and HTML5 are two of the hottest technologies right now, and there's plenty of overlap. Web apps run in mobile browsers and can also be re-packaged as native apps on the various mobile platforms. With the wide range of platforms to support, combined with the sheer power of mobile browsers, developers are turning to HTML5 as a "write one, run many" solution. Feature Richness Point: Native can do more We can divide mobile functionality into two dimensions: the experience of the app itself, and the way it hooks into the device's ecosystem, e.g. for Android, this would be features like widgets and notifications. In terms of app experience, native apps can do more. It's more than the in-app experience though. Counterpoint: Native features can be augmented, and the web is catching up anyway It's true that many in-app features are simply beyond reach for an HTML5 app. Making a hybrid - native plus web - app is hardly an ideal solution. Overall, mobile is evolving.

Sophisticated Web Apps with Dojo Ready-for-Business MVC Application Controller & DataBinding Building Web Apps is about connecting your beautiful user interface to services and data across the web. Dojo’s flexible data access libraries help you get at data so that it can be consistently connected to views, and the new data binding and application controllers that are available are making it simpler than ever to create data bound UI’s and control global application flow. Layout New controls like the Opener widget help insulate your applications from variations in screen sizes. Forms & Data Dojo includes a new set of components designed from scratch with mobile in mind, including forms and databinding. Thousands of companies are using Dojo today to build their next generation web-enabled products! IBM Rational Team Concert is built on Dojo Create Beautiful User Interfaces Claro Dojo widgets comes with the default high-quality “Claro” theme based on Less.js, and three other sample themes to get you started. Create your Own Filter

HTML5 Pro Quick Guide ** Includes HTML 4.01 and HTML 5 ** More than just a cheat sheet or reference, the HTML5 Pro Quick Guide provides beginners with a simple introduction to the basics, and experts will find the advanced details they need. Loads of extras are included: HTML5 elements, HTML5 attributes, HTML5 events, syntax, document structure, DOCTYPE declarations, colors, font styles, HTML5 version information, and browser compatibility tables for the most popular browsers. The HTML tags are categorized and searchable. Each tag information screen contains a description, element specific attributes, examples, browser compatibility, and version information. In addition, many of the examples include the actual rendered output. The HTML tags are broken into the following categories:Structural Elements, Head Elements, List Elements, Text Formatting Elements, Form Elements, Image and Media Elements, Table Elements, Frame & Window Elements * No internet connection necessary! ** Inclui HTML 4.01 e HTML 5 **

Why would you use Backbone.js? - Backbone.js Tutorials Building single-page web apps or complicated user interfaces will get extremely difficult by simply using jQuery or MooTools. The problem is standard JavaScript libraries are great at what they do - and without realizing it you can build an entire application without any formal structure. You will with ease turn your application into a nested pile of jQuery callbacks, all tied to concrete DOM elements. I shouldn't need to explain why building something without any structure is a bad idea. Why single page applications are the future Backbone.js enforces that communication to the server should be done entirely through a RESTful API. So how does Backbone.js help? Backbone is an incredibly small library for the amount of functionality and structure it gives you. Other frameworks If you are looking for comparisons to build your single page application, try some of these resourceful links. Contributors

Useful JavaScript Libraries and jQuery Plugins For Web Developers Advertisement If you have a problem and need a solution for it, chances are high that a JavaScript library or jQuery plugin exists that was created to solve this very problem. Such libraries are always great to have in your bookmarks or in your local folders, especially if you aren’t a big fan of cross-browser debugging. A JavaScript library isn’t always the best solution: it should never be a single point of failure for any website, and neither should a website rely on JavaScript making the content potentially inaccessible. Progressive enhancement is our friend; sometimes JavaScript won’t load properly, or won’t be supported — e.g. users of mobile devices might run into latency issues or performance issues with some JavaScript-libraries. In this two-part overview, we feature some of the most useful JavaScript and jQuery libraries which could be just the right solutions for your common problems. Due to the length of this post, we’ve split it into two parts for your convenience:

5 Online IDEs That Let You Code in the Cloud A number of companies are making a push to move traditional desktop applications into the cloud. You can now write documents, spreadsheets and presentations all from the web browser with ease. Programmers have not been left out of this revolution, with several sites now offering development environments (IDEs) in a web browser. WonderFl allows you to write, compile, run and share ActionScript applications online. Developers looking to integrate ActionScript with web based APIs can find quite a few examples in the WonderFl database like a Google AJAX search, Flickr with Yahoo Pipes, Twitter clients and more. Bespin is a Mozilla Labs experiment on how to build an extensible Web code editor using HTML 5 technology. Zoho Creator is a tool that allows you to create database applications. CodeRun Studio is a cross-platform Integrated Development Environment (IDE), designed for the cloud. Both comments and pings are currently closed.

Vala (programming language) For memory management, the GObject system provides reference counting. In C, a programmer must manually manage adding and removing references, but in Vala, managing such reference counts is automated if a programmer uses the language's built-in reference types rather than plain pointers. Using functionality from native code libraries requires writing vapi files, defining the library interfacing. Writing these interface definitions is well-documented for C libraries, especially when based on GObject. Vala was conceived by Jürg Billeter and was implemented by him and Raffaele Sandrini, finishing a self-hosting compiler in May 2006.[4] A simple "Hello, World!" int main () { print ("Hello World\n"); return 0;} A more complex version, showing some of Vala's object-oriented features: class Sample : Object { void greeting () { stdout.printf ("Hello World\n"); } static void main (string[] args) { var sample = new Sample (); sample.greeting (); }} valac --pkg gtk+-3.0 hellogtk.vala

Building Cross Platform Applications Rarely does an organization have the luxury of building mobile apps for a single mobile platform. The fact is, the smartphone and tablet space is dominated by three big platforms: iOS, Android and Windows. As such, in order to reach users, apps must be designed and built for all three of them. This guide introduces the Xamarin platform and how to architect a cross-platform application to maximize code re-use and deliver a high-quality native experience on all of the main mobile platforms: iOS, Android and Windows Phone. The approach used in this document is generally applicable to both productivity apps and game apps, however the focus is on productivity and utility (non-game applications). The phrase “write-once, run everywhere” is often used to extol the virtues of a single codebase that runs unmodified on multiple platforms. Here is a summary of the key points for creating Xamarin cross-platform apps: Use C# - Write your apps in C#. Separate Reusable Code into a Core Library Tasky Pro

10 Things I Learned about Blueprint CSS As a designer I have an appreciation for clean, hand-crafted CSS—but also for getting things done quickly. Using a good CSS framework like Blueprint CSS provides a lot of tools that make the layout of the page much quicker and easier to implement. It also provides a comprehensive approach to resetting and fixing known browser issues and bugs. First, I found a nice Blueprint cheat-sheet.To install and set up Blueprint, use the project generator.

I'm Gina Trapani, and This Is How I Work > do you start and finish at the same time each day? When I was running Lifehacker and posts had to start publishing at a certain time, I did start and finish generally at the same time every day. Now my daily deadlines are a lot more flexible, so it's not always the same time. > Do you dress for work each day? I do not dress for work on days I'm working at home, unless I have a meeting. > Do you work during times when your wife would rather you not because it's always available? When my wife is unhappy I'm unhappy, so I try my best to avoid working when she wants me to be present. :) Unlike me, she's an early-to-bed-early-to-rise type, so I always have the option of working after she calls it a night. Thanks for the detailed reply. :) I like that more people are figuring out how to be effective within the flexibility of working from home.

Related: