Web Info & Tutorials

February 2nd, 2012

WINDING ROAD OF OPEN-SOURCE WEBOS

HP continues to divulge bits and pieces of a agency map for the ill-starred and nearly-orphaned webOS. The consort has followed up its Dec organisation to promulgation webOS ambulatory papers and utilization tools with a planned timeline, with a flooded promulgation ordered before year’s end.  Some grouping wager a chronicle for the related Enyo JavaScript support divagation from some success or unfortunate webOS finally achieves.

January 14th, 2012

SHIM USES NODE.JS TO TEST SITES ON MULTIPLE BROWSERS

Shim was matured within the Beantown Globe’s media work as a artefact to think how Web sites countenance on different devices and browsers. A laptop intercepts every wifi reciprocation – this is redirected to a bespoken node.js computer – which inserts a javascript, or “shim,” at the nous of apiece scheme tender that is visited.

The shim, erst unexploded in a device’s browser, opens and maintains a socket unification to the server, according to to Shim’s developers. Shim was cursive in 2011 by Chris Marstall, Creative Technologist at the Beantown Globe. The code has been unstoppered sourced. Write the Shim originators on git.hub:

Whenever a newborn tender is requested, the page’s address is programme to every adjoining browsers, which then direct themselves to that URL, ownership every devices in sync. Shim content is acquirable on git.hub.

December 10th, 2011

HIPHOP VIRTUAL MACHINE FOR PHP

Facebook Software Engineer and HipHop for PHP aggroup member Jason archaeologist provides info on Facebook’s advise to a newborn high-performance PHP realistic machine. Described by archaeologist is ”a newborn PHP enforcement engine supported on the HipHop module runtime that we call the HipHop Virtual Machine (hhvm).” He sees it as equal for the HipHop PHP intermediator (hphpi). He continues:

We hit daylong been keenly alive of the limitations to noise psychotherapy imposed by much a impulsive module as PHP, not to name the risks inexplicit in nonindustrial cipher with hphpi and deploying with hphpc. Our experiences with hphpc led us to move experimenting with impulsive movement to autochthonous organisation code, also famous as just-in-time (JIT) assembling … we matured a high-level stack-based realistic organisation specifically plain to PHP that executes HipHop bytecode (HHBC). hhvm uses hphpc’s PHP>AST feat and extends the scuttlebutt to PHP>AST>HHBC.

He estimates the hhvm bytecode intermediator is roughly 1.6X faster for destined Facebook-specific benchmarks, with ease meliorate action in the offing. But, as described in his blog place on the PHP assembling innovations, there is ease impact ahead. You crapper analyse HipHop-related aggregation at GitHub.

November 12th, 2011

ADOBE TO FORGO FLASH PLUG-IN FOR MOBILE DEVICES

Earlier this week, Adobe VP and General Manager Danny Winokur unconcealed that the consort has over that HTML5 is ”the prizewinning resolution for creating and deploying noesis in the application crossways ambulatory platforms.” The consort said it would kibosh antiquity Flash to separate on ambulatory browsers. In a blog place on the newborn pore of Flash strategy, Winokur wrote:

Our forthcoming impact with Flash on ambulatory devices module be convergent on sanctioning Flash developers to collection autochthonous apps with Adobe AIR for every the field app stores.  We module no individual advise to amend Flash Player in the application to impact with newborn ambulatory figure configurations (chipset, browser, OS version, etc.) mass the upcoming promulgation of Flash Player 11.1 for Android and BlackBerry PlayBook.

While Flash 12 impact is said to be underway, some observers hit wondered if this potentially marks the first of the modify for Flash, which has been reeling since Apple refused to hold it on iPhone and kindred of its ambulatory devices.

Adobe’s archangel Chambers, capital creation trainer for developer relations, has responded to the generalized anxiety with a clarifying journal post, that includes a discussions of reasons for the advise to depart the Flash-on-mobile-browser tact. In a place yesterday designer writes:

… presented the fragmentation of the ambulatory market, and the fact that digit of the directive ambulatory platforms (Apple’s iOS) was not feat to earmark the Flash Player in the browser, the Flash Player was not on road to accomplish anywhere nearby the presence of the Flash Player on desktops.

Also, it seems, the duty of porting the block in to innumerable ambulatory OSes and figure types place a aggregation of push on Adobe utilization t efforts. ”For apiece newborn device, application and operative grouping released, the resources required to develop, effort and reassert the Flash Player also increases. This is something that we realized is only not ascendible or sustainable,” wrote Chambers.

October 8th, 2011

INTEL’S PARALLEL EXTENSIONS FOR JAVASCRIPT

Intel’s Parallel Extensions for JavaScript, cipher titled River Trail, manus into on-chip agent extensions to meliorate action of Web applications. Details of Intel’s endeavor to intend on the JavaScript juggernaut emerged terminal period at its developer event.

The ikon JavaScript spreading offered by Intel is witting to earmark JavaScript apps to verify plus of recent nonconvergent defect capabilities. Sequential gives artefact to parallel, at small in theory.

In-browser games and ikon redaction are pitched as examples of covering elements that would verify plus of newborn eight-core processors, blogs Intel’s Stephan Herhut.The code is said to ”play nicely” with the WebGL JavaScript API to OpenGL for 3D image in the browser. Intel has a beta Firefox spreading for fascinated developers. Says Herhut:

You crapper download a prebuilt version for Windows and 64 Bit MacOS [from github] or physique it yourself. For the latter, we hit cursive a README that explains the process. Once you hit the spreading installed, verify a countenance at our demos to wager what is possible.

Why should the covering be a ordinal manipulate to the operative system? As browsers, JavaScript, and HTML5 acquire more influence, top-tier defect makers module move to alter their libraries to Web covering demands. More, including touchable on API design or the beginnings of  API documentation, is on a RiverTrail wiki.

October 4th, 2011

ADOBE BUYS NITOBI

As it kicked soured its period developer event, Adobe declared that it had acquired Nitobi Software, concern of PhoneGap unstoppered maker cipher for cross-platform ambulatory covering antiquity with HTML5 and JavaScript. In a blog, Nitobi CEO Andre Charland committed to oppose gift of the PhoneGap cipher to the Athapascan Software Foundation ”to secure unstoppered stewardship of the send over the daylong term.” In a statement, he said Nitobi and Adobe mutual the aforementioned belief most sanctioning ambulatory and Web applications. Dave Johnson, Nitobi CTO said: Adobe was full adjunct of the selection to verify PhoneGap to the Athapascan Software Foundation.

August 9th, 2011

A SIMPLE RANDOM BIT ON VAR SELECTOR

Isobar’s Rob Larsen suggests that there is ofttimes a requirement to physique CSS selectors dynamically when antiquity applications. ”This is typically whatever existing ornament matched with a wrap furniture or something pulled from a accumulation attribute,” he writes on his blog. His pick is to create a uncertain titled ”selector” and ”to foxiness the switch on its possess line.” This is then passed into jQuery. He shows a ultimate example.

July 10th, 2011

THE POWER OF INTENT TAG DISCUSSED

Google developer exponent Apostle Kinlan has careful his past impact on a lightweight distribution artefact using a rattling ultimate aim deal protocol. Web Intents began chronicle in 2010. Now, Kinlan and consort are hunting for feedback. Basically, his aim attach is witting to earmark users to more easily intermixture and correct selection plug-in capabilities, freeing up developer try in the meantime.

Resembling in whatever structure aim attributes in the Android framework, the Intent attach entireness by communication to a application the aim to appendage a sort of URIs. The attach is meant for spidering.

A individual chooses a pet assist – say, a ”red-eye remover” for picture editing. The assist loads; Intent accumulation gets passed. The grouping takes tending of assist resources.

While somewhat distant in promoting the noesis of the aim tag, Kinlan ease pronto suggests that the Google send could ”fundamentally modify and meliorate the artefact we physique applications on the Web today…”

Behind the try has been a observed near to ready the API rattling simple. Kinlan describes the try in a past journal entitled ”Web Intents: A Fresh Look” and points you to a image API on Github. Further info are on http://webintents.org/share.

June 10th, 2011

CODE INJECTION, ERROR THROWING

In a blog, Opera Software Developer Relations aggroup member artist B. emancipationist looks at code injection, nonachievement throwing and direction and ambulatory debugging. She notes Opera Dragonfly and its far debug features wage a artefact to debug ambulatory sites from their desktop. emancipationist mentions WebKit’s fresh additional far debugging capabilities, bifold into Google Chrome developer tools. Pointed to as substantially are Bugaboo, an iOS app for Safari-based debugging; JS Console which is acquirable on the Web or as an iOS app; and Weinre for WebKit-based browsers. In this entry, emancipationist looks more intimately at Dragonfly far debug and JSConsole.

 

 

June 9th, 2011

THE STATE – SORT OF – OF HTML5 AUDIO

The State – Sort of – of HTML5 Audio

Scott author discusses the broad take of hype around HTML5 and CSS3. The digit glasses intercommunicate ”many eld of feature hacks tautological by exchange them with autochthonous features,” he writes in an insightful blog.

Blogging, he says:

CSS3’s border-radius, box-shadow, text-shadow and gradients, and HTML5’s <canvas>, <audio> and <video> are whatever of the most expected features we’ll wager place to fictive (ab)use as acceptation of the ‘new shiny’ grows. Developers actuation on the selection bounds are using subsets of these features to lowercase detriment, in most cases. The more favourite CSS features are organisation flourishes that crapper mortify nicely, but the underway frequence and recording implementations in portion undergo from a sort of annoyances.

He begs the question: Are we feat to wager a ordinary info crossways the field browsers for both frequence and video?

Check it out!