JavaScript
Web App Development: MVC, PHP, JavaScript and NOLOH Disentangled
Submitted by dshafer on November 28, 2008 - 2:14pm.Nobody who writes Web applications would claim it's easy. The MVC programming paradigm can help ease the burden a bit, but widely available programming languages and frameworks have made such a choice difficult at best. An essay on Advogato bemoaning the blurred lines of development between browser and server got me thinking about the tool I'm using for my Web app development these days, NOLOH. Despite the fact that it's written in the ugly PHP language, NOLOH is an elegant and highly leverageable framework. NOLOH in Python (coming in the distant future) would be even better, but for now at least NOLOH even beats Python-based Django and Smalltalk-based Seaside.
For more details, click "Read More" below.
Google's OpenSocial Further Entrenches JavaScript
Submitted by dshafer on October 31, 2007 - 12:19pm.Google is moving strongly into the social network space, but not by adding yet another social network to the dizzying array of such sites already vying for eyeballs. Instead, Google plans to offer a neutral JavaScript-based platform for creating apps that run inside social networks. This is a very smart position for Google to take. Its own social network, Orkut, has been a rare major bust for a company that often appears it can do no wrong. At the same time, Facebook has made great strides in gaining users of late, at least in part due to opening up its programming APIs to make it possible for third parties to develop apps that run in Facebook.
For security reasons, Facebook developed its own markup language called FBML and apps designed to work in Facebook must use that markup. This makes those apps unusable on other social networks (most notably perhaps MySpace).
Google chose JavaScript as the core language for developing the new cross-network apps. That's a smart move. JavaScript is clearly the client-side lingua franca of the Web, much as PHP is the de facto server-side scripting language, But while PHP has lots of competition, JavaScript all but owns the client side. The emergence of a loose bundle of technologies called AJAX, which makes it possible to create standalone application look and feel in a Web app, has really all but frozen out other languages in this important space.
Google has already lined up social networks Orkut, Salesforce, LinkedIn, Ning, Hi5, Plaxo, Friendster, Viadeo and Oracle as partners, along with such rising app development stars as Flixster, iLike, RockYou and Slide. This leaves some awfully big social network players -- MySpace, Facebook, Microsoft, Bebo and Yahoo to name a few. But by choosing the gatekeeper role on the bridge between the social network and the end user, Google positions itself perfectly to ride above that fray. Eventually, assuming OpenSocial takes off as I suspect it will, those big guys will have to adopt Google's bridge even if only as a secondary, "also supported" technology alongside their own. And of course MySpace now has no such bridge; it will come as no shock to me if they adopt OpenSocial in the next 30-45 days.
I've been saying it since the early 90's at CNET: savvy Web developers need to master JavaScript. The case keeps getting stronger.
Holy Squeakin' JavaScript, BatDan!
Submitted by dshafer on October 6, 2007 - 12:33pm.The worlds of Squeak and JavaScript collided in the mind of Smalltalk genius Dan Ingalls and produced the most amazing development platform I've seen in years and years: Live Kernel, an open source "experiment" from Sun Labs.
My good friend Laurence Rozier of The Meshverse Journal fame pointed me at this new project. It's truly amazing.
All Dan did was to take the brilliant direct-manipulation paradigm and class architecture of Morphic (which originated in the vastly intriguing world of the programming language called Self and then morphed [if you'll pardon the expression] into Squeak Smalltalk) and implement it in pure JavaScript! Wowza!
The tutorial alone is amazing. Even if you're not a programmer, even if you have no idea what Morphic or Squeak or Self are, you should check it out. The impact of this could be to the Web what Adobe's AIR promises to be on the desktop.
It is a fun time to be alive in the Meshverse!
Apollo, GoogleGears Both Using SQLite
Submitted by dshafer on June 2, 2007 - 2:40pm.I think it's also neat that both Apollo and Google Gears are using SQLite and embedding that very cool stand-alone single-user database directly in their products. This will effectively make SQLite the global standard for local storage.
The implications for interoperability are staggering. My old buddy Laurence Rozier has more and enthuses about the idea over at his Meshverse blog.
As Adobe Apollo employee Ryan Stewart said on his blog, "The browser and the desktop are getting closer, but they still provide very different experiences. The collaboration hopefully means that the Google vision for software development and the Adobe vision will match up more closely over time."



