Ajax

  • Most Topular Stories

  • PHP 4.4.10 Released

    PHP Magazine Network
    Hatem Ben Yacoub
    27 Apr 2015 | 3:25 am
    Seven years ago, was released the latest version in the PHP4 branch : 4.4.9. Today the latest versions in the official PHP.net website are 5.4.40, 5.5.24, and 5.6.8. While most of the community are waiting for the latest PHP 7, many others did not upgrade yet their installations from PHP 5.3 which end of life announced since last year, or PHP 5.2. PHP 5.4 and 5.5 branch EOL are respectively 2015 and 2016. So if you are not in a hurry you should start coding with PHP 7, or migrate your existing code to PHP 7! If you prefer PHP 5.6 or 5.5 you will have one year or two before you will be obliged…
  • Desktop Wallpaper Calendars: May 2015

    Smashing Magazine
    The Smashing Editorial
    30 Apr 2015 | 5:59 am
    We always try our best to challenge your artistic abilities and produce some interesting, beautiful and creative artwork, and as designers we usually turn to different sources of inspiration. As a matter of fact, we’ve discovered the best one—desktop wallpapers that are a little more distinctive than the usual crowd. This creativity mission has been going on for seven years now1, and we are very thankful to all designers who have contributed and are still diligently contributing each month. This post features free desktop wallpapers created by artists across the globe for May 2015. Both…
  • jQuery 1.11.3 and 2.1.4 Released – iOS Fail-Safe Edition

    Official jQuery Blog
    Timmy Willison
    28 Apr 2015 | 10:24 am
    Here we are again. It’s too late for April Fools, so you can believe us when we tell you that we have two new patch releases for you: jQuery 1.11.3 and 2.1.4. These releases include a hot-fix for a rare bug in iOS 8.2 and 8.3. This is the only change. As with 1.11.2 and 2.1.3, we do not anticipate any issues when upgrading. However, if you do encounter bugs in upgrading from the previous versions, please let us know. You can include these files directly from the jQuery CDN if you like, or copy them to your own local server. The 1.x branch includes support for IE 6/7/8 and the 2.x branch…
  • Sencha Ext JS JetBrains Plugin EA Update 2 Released

    Sencha » » Blog
    Mark Brocato
    30 Apr 2015 | 8:00 am
    The new Ext JS plugin for JetBrains IDEs generated a lot of buzz when we debuted it at SenchaCon 2015 in early April. I’d like to thank each member of the Sencha community who offered feedback and bug reports in person, on the forums, and by reporting errors via the IDE. Now, we’ve released Early Access Update 2 of the Sencha Ext JS plugin. This update addresses many items reported by the community. Here are some of the highlights: Performance: you may have noticed that opening large files caused a noticeable delay in validation and syntax highlighting. This has been greatly improved…
  • Dojo Recap – Week Ending April 24, 2015

    The Dojo Toolkit Blog
    Dylan Schiemann
    27 Apr 2015 | 3:50 pm
    Weekly Update A lot goes on in Dojo each week and in the past we haven’t done a great job of telling the world about it. As we begin this new chapter (working towards Dojo 2), we will be publishing a weekly update that gives some insight into what was accomplished the previous week, our goals for this week (in case you want to get involved), and a brief agenda for the weekly IRC meeting. Dojo 1.x In preparation for the 1.11 release planned for late Spring, we are landing high quality pull requests to fix various bugs and add enhancements to the dojo, dijit, and dojox packages.
  • add this feed to my.Alltop

    PHP Magazine Network

  • PHP 4.4.10 Released

    Hatem Ben Yacoub
    27 Apr 2015 | 3:25 am
    Seven years ago, was released the latest version in the PHP4 branch : 4.4.9. Today the latest versions in the official PHP.net website are 5.4.40, 5.5.24, and 5.6.8. While most of the community are waiting for the latest PHP 7, many others did not upgrade yet their installations from PHP 5.3 which end of life announced since last year, or PHP 5.2. PHP 5.4 and 5.5 branch EOL are respectively 2015 and 2016. So if you are not in a hurry you should start coding with PHP 7, or migrate your existing code to PHP 7! If you prefer PHP 5.6 or 5.5 you will have one year or two before you will be obliged…
  • Corvisa Acquires Codebox to Enhance Open Source Tools for Developers

    Hatem Ben Yacoub
    9 Apr 2015 | 3:54 pm
    Web IDE will further expand the features and simplicity of Corvisa’s true PaaS Summit Platform Milwaukee, Wis. – April 9, 2015 – Cloud communications provider, Corvisa LLC, today announced the acquisition of Codebox, a web-based developer IDE (Integrated Development Environment). Corvisa will integrate the Codebox IDE into its Summit Platform to facilitate faster, easier development of real-time communications applications by both businesses and independent developers. The Summit Platform goes beyond standard APIs and web service calls to serve as a true Platform-as-a-Service (PaaS)…
  • Your PHP-based Personal Cloud for less than $30 dollars

    Hatem Ben Yacoub
    6 Apr 2015 | 11:29 pm
    I have written on my consultancy blog a DIY post to create your own personal Cloud system for less than $30 bucks. I did not want to share it fully here since it’s not really about PHP, however the interesting part is that the Personal Cloud Server used in this article is powered by PHP and it’s a very robust solution. OwnCloud is PHP-based file hosting solution that provides tons of functionalities very similar to DropBox, but that you can run on your own servers. The solution is written in PHP, JavaScript, and using the open source WebDab SabreDav for remote access. There are…
  • Modern PHP Book reviewed

    Hatem Ben Yacoub
    25 Mar 2015 | 2:26 am
    Available in the market since March 1st, 2015 and it’s already the number one Amazon best seller in the PHP programming category. Josh Lockhart new book Modern PHP: New Features and Good Practices is tempting to read for any PHP programmer not only to discover new features, but also good practices. In the book, Josh is showing how he’s using PHP in his projects. He’s the creator of the Slim Framework, co-author of the PHP The Right Way free eBook that we previously covered in addition of being a PHP-FIG representative. The book is 286 pages in three parts and two appendices,…
  • Interview with James Watts, Announcing CakePHP 3.0

    Hatem Ben Yacoub
    22 Mar 2015 | 4:23 pm
    The CakePHP core team announced today the immediate availability of CakePHP 3.0 with lots of new features and improvements. Almost one year after announcing the first 3.0 preview release, followed by eight other releases (preview, dev, and RC) ! Lots of work have been done on this release and today you can download and upgrade your CakePHP environment. Some of the CakePHP 3.0 new features include : – New ORM – Faster and more flexible routing – improved migration – Better Internationalization – Improved debugger toolbar – The usage of composer –…
 
  • add this feed to my.Alltop

    Smashing Magazine

  • Desktop Wallpaper Calendars: May 2015

    The Smashing Editorial
    30 Apr 2015 | 5:59 am
    We always try our best to challenge your artistic abilities and produce some interesting, beautiful and creative artwork, and as designers we usually turn to different sources of inspiration. As a matter of fact, we’ve discovered the best one—desktop wallpapers that are a little more distinctive than the usual crowd. This creativity mission has been going on for seven years now1, and we are very thankful to all designers who have contributed and are still diligently contributing each month. This post features free desktop wallpapers created by artists across the globe for May 2015. Both…
  • Design Principles: Compositional Flow And Rhythm

    Steven Bradley
    29 Apr 2015 | 2:00 am
    When someone lands on a page of your site what do you want that person to do? Where do you want them to look? What information do you want your visitors to notice and in what order? Ideally, you want people to see your most important information first and your next most important information second. You want potential customers to see the copy that will convince them to buy before they see the “Buy Now” button. You want people to be presented with the right information at the right time, and one way to do that is to control the flow of your composition1. Compositional flow…
  • Creating A Complete Web App In Foundation For Apps

    Stephen Saucier
    28 Apr 2015 | 2:00 am
    Foundation for Apps is a new single-page app1 framework from Zurb that is closely related to Foundation 5 (also known as Foundation for Sites, a widely used front-end framework). It’s built around AngularJS and a flexbox grid framework. It’s intended to make creating a web app very quick and simple, enabling us to quickly start writing the code that’s unique to our application, rather than boilerplate. Because Foundation for Apps was only released at the end of 2014, it hasn’t yet seen widespread usage, so there are few good sources of information on using the framework. This…
  • “It’s Alive!”: Apps That Feed Back Accessibly

    Heydon Pickering
    27 Apr 2015 | 5:58 am
    It’s one thing to create a web application and quite another to create an accessible web application. That’s why Heydon Pickering1, both author and editor at Smashing Magazine, wrote an eBook Apps For All: Coding Accessible Web Applications2, outlining the roadmap for the accessible applications we should all be making. The following is an extract from the chapter “It’s Alive” from Heydon’s book, which explores how to use ARIA live regions. Javascript applications are driven by events and the user should be informed of what important events are happening in…
  • How To Become A UX Leader

    Robert Hoekman Jr
    23 Apr 2015 | 5:50 am
    Let’s say you run a UX team. Better yet, let’s say you don’t. Let’s say you just want to do great work. You’re a consultant. You’re a newbie. You’re an intern. Your position is irrelevant. So is your title. What’s important here is that you want great UX to happen. You want it consistently. You want it now. You want it all the time. No matter your status or situation, whether director or loner, you are in a position to lead, to raise the bar in a place where it consistently sits lower than you think it should. As an in-house UX professional, I’ve formed and run UX teams for…
  • add this feed to my.Alltop

    Official jQuery Blog

  • jQuery 1.11.3 and 2.1.4 Released – iOS Fail-Safe Edition

    Timmy Willison
    28 Apr 2015 | 10:24 am
    Here we are again. It’s too late for April Fools, so you can believe us when we tell you that we have two new patch releases for you: jQuery 1.11.3 and 2.1.4. These releases include a hot-fix for a rare bug in iOS 8.2 and 8.3. This is the only change. As with 1.11.2 and 2.1.3, we do not anticipate any issues when upgrading. However, if you do encounter bugs in upgrading from the previous versions, please let us know. You can include these files directly from the jQuery CDN if you like, or copy them to your own local server. The 1.x branch includes support for IE 6/7/8 and the 2.x branch…
  • Announcing Globalize 1.0

    Rafael Xavier de Souza
    23 Apr 2015 | 4:00 am
    The jQuery Foundation is excited to announce the 1.0 release of the Globalize project, our internationalization (i18n) library. This release has been a long time coming and as Globalize picks up steam and gains more and more adoption every day, we are proud to finally announce the first stable release of this project. We could go on about the features and benefits of this latest release but we felt it was important that you hear it from the source. Below, Rafael Xavier, the lead for the Globalize project, details everything you need to know about the 1.0 release of Globalize and what is yet…
  • Announcing PEP 0.3.0

    Scott Gonzalez
    21 Apr 2015 | 10:17 am
    Today, we’re happy to announce the first release of PEP (jQuery Foundation’s Pointer Events polyfill) since Google transferred the Pointer Events polyfill to the jQuery Foundation. There’s more work to do in order to address changes to the Pointer Events specification and flesh out our test suite, but you can start using Pointer Events in your projects today! Other projects, like jQuery UI, jQuery Mobile, and Dojo are in the process of switching to Pointer Events with PEP. To celebrate our first release, Alex Schmitz built a little demo which he used to show PEP working on…
  • Come help the jQuery Foundation

    Aurelio De Rosa
    25 Mar 2015 | 10:44 am
    For many years now the jQuery team first, and then the jQuery Foundation as an organization, has helped developers all over the world to write simple, concise, and clean code that isn’t affected by all the browser incompatibilities that developers are well-accustomed to. As you know, all the jQuery Foundation projects are maintained by a group of volunteers who keep the libraries relevant and in line with modern browser APIs and issues. The team also keeps the API documentation and educational guides up to date. In the next few months, the team will work on the several jQuery-related…
  • Esprima 2.1 Released

    Kris Borchers
    10 Mar 2015 | 10:29 am
    We’ve just released Esprima 2.1.0! This release introduces support for several new pieces of ES6 syntax: Classes, Rest Parameters, Computed Property Names, let and const. See the release notes below for full details. We’ve also made various improvements to our testing infrastructure to make the codebase more contributor friendly. A big thank you to all those who contributed patches to this release: Ariya Hidayat, Bei Zhang, Brandon Mills, Mike Rennie, Mike Sherov. While working on bringing more ES6 features to Esprima, we began collaborating with other JavaScript parsers and…
 
  • add this feed to my.Alltop

    Sencha » » Blog

  • Sencha Ext JS JetBrains Plugin EA Update 2 Released

    Mark Brocato
    30 Apr 2015 | 8:00 am
    The new Ext JS plugin for JetBrains IDEs generated a lot of buzz when we debuted it at SenchaCon 2015 in early April. I’d like to thank each member of the Sencha community who offered feedback and bug reports in person, on the forums, and by reporting errors via the IDE. Now, we’ve released Early Access Update 2 of the Sencha Ext JS plugin. This update addresses many items reported by the community. Here are some of the highlights: Performance: you may have noticed that opening large files caused a noticeable delay in validation and syntax highlighting. This has been greatly improved…
  • Comparing JS Compression Methods in Sencha Cmd

    Arthur Kay
    29 Apr 2015 | 8:00 am
    Introduction For years and years, web developers have been told that they must optimize their code for production environments. The conventional wisdom states that bandwidth usage will be reduced and applications will load much more quickly simply by compressing all of the JavaScript an application needs—and Sencha has helped to automate this process for years through Sencha Cmd. However, as with many of our customers, you may not realize that you can squeeze even more performance out of this process by tweaking how Sencha Cmd compresses your code. Although Sencha Cmd defaults to using YUI…
  • Using URL Schemes with Sencha Touch, iOS, and Cordova

    Johnny Major
    22 Apr 2015 | 8:00 am
    Enabling your mobile apps to launch other apps on the same device is convenient and enhances the user experience. A URL scheme is a mechanism that provides an app the ability to launch or resume another app. But the true power of a URL scheme is unleashed when you use it to pass data into the receiving app, thereby altering the apps behavior or directing the user to a specific location within the app. So when might you want to implement a URL Scheme within your mobile app? Here are some common use cases: Launching or resuming an app from another app Sending data to an app Transferring stored…
  • Wearable JavaScript

    Daniel Gallo
    16 Apr 2015 | 7:30 am
    The number of wearable devices sold globally, according to Juniper Research, was around 27 million units in 2014, likely to increase to 127 million units by 2017, along with estimated revenues to exceed $53 billion in 2019. With wearable devices becoming significantly more commonplace in the coming years, there’s a whole new platform on which to develop apps. For mobile phones and tablets, it’s fairly simple and consistent to develop apps, because the same constants usually apply: the end user has a relatively large touch screen surface, with a soft keyboard, and a powerful webview for…
  • Announcing Ext JS 6 Early Access Release

    Gautam Agrawal
    14 Apr 2015 | 7:30 am
    After an amazing SenchaCon 2015 last week, we are extremely excited to announce that Ext JS 6 early access release is available. With Ext JS 6, you will be able to use a single JavaScript framework to seamlessly build applications for desktops, tablets, and smartphones. Download Ext JS 6 Early Access Release Read What’s New in Ext JS 6 What is Early Access? You can get immediate access to Ext JS 6, which is being developed as a unified (Ext JS and Sencha Touch) framework to build web applications using a single source and deliver them across desktops, tablets, and smartphones. With the help…
  • add this feed to my.Alltop

    The Dojo Toolkit Blog

  • Dojo Recap – Week Ending April 24, 2015

    Dylan Schiemann
    27 Apr 2015 | 3:50 pm
    Weekly Update A lot goes on in Dojo each week and in the past we haven’t done a great job of telling the world about it. As we begin this new chapter (working towards Dojo 2), we will be publishing a weekly update that gives some insight into what was accomplished the previous week, our goals for this week (in case you want to get involved), and a brief agenda for the weekly IRC meeting. Dojo 1.x In preparation for the 1.11 release planned for late Spring, we are landing high quality pull requests to fix various bugs and add enhancements to the dojo, dijit, and dojox packages.
  • The Road to Dojo 2

    Dylan Schiemann
    16 Apr 2015 | 1:42 pm
    “When will Dojo 2 be released?” That’s pretty much the number one question we’ve been asked about Dojo since Dojo 1.0 was released in 2007. Over the past seven plus years, we have made numerous updates and improvements, while preserving a high level of stability for our users. What’s in a number? Our shift to AMD in Dojo 1.7 was a massive change that could have been called Dojo 2.0, but because we kept backwards compatibility to help developers transition over to AMD syntax, it felt right to call it 1.7. We continued building on that groundwork releasing 1.8, 1.9…
  • Dojo Winter and Spring 2015 events

    Dylan Schiemann
    16 Feb 2015 | 9:32 am
    There are a number of Dojo events this winter and spring. Some of these events are still tentative, so we’ll add links once they are confirmed. We hope to meet you at one of these events. Let us know if there’s an event you would like to host in your area. Dojo Community Day A Dojo community day is planned, but the details are not yet available. Conferences Conferences we’re planning to attend and/or deliver talks. Esri DevSummit, Palm Springs, CA, March 10-13 JSConf, Amelia Island, May 27-29 Esri UK Developer conference, London, May 19 EdgeConf, London, June 27 Meetups…
  • Case study: Softeco Sismat (TELL ME Project, #2)

    Dylan Schiemann
    26 Dec 2014 | 8:57 am
    The large companies that use Dojo are widely known. This series features lesser known users of Dojo, and their stories. Eight months ago, we conducted a case study about the TELL ME project with Stefano Bianchi from Softeco Sismat, an ICT Italian company. Here we have followed with up Stefano to get an update on their progression from desktop web app to mobile with Dojo. TELL ME Mobile UI – login Q: How did you first learn about Dojo? A: We were looking for a solid JavaScript framework to develop a prototype for a complex, desktop-like web user interface (UI) to support learning activities…
  • Dojo Security Advisory 2014-12-08

    Colin Snover
    9 Dec 2014 | 12:04 pm
    Introduction Several XSS vulnerabilities have been discovered and fixed in the Dojo Toolkit. Masato Kinugawa discovered a security flaw in the SWF component of the dojox/form/FileUploader widget that allows for cross-site scripting attacks on domains hosting the affected SWF. After evaluating the disclosed vulnerability, similar additional XSS vulnerabilities were discovered by the Dojo Toolkit security team in other dojox components including dojox/av/FLAudio, dojox/av/FLVideo, and dojox/form/Uploader. A potential XSS vulnerability with a different attack vector was also discovered in…
 
  • add this feed to my.Alltop

    The Isomorphic Software Blog

  • A Better User Experience (and a Sneak Peek at the Next Release)

    Jason Hardy-Smith
    7 Apr 2015 | 3:34 pm
    Our next release  (SmartClient 10.1 / Smart GWT 5.1) is still a little way off, but we would like to share some details. We also want to give you the opportunity to play with some of the BETA (pre-release) features. This blog will focus on user experience. However, there will be more blogs about other aspects of the 10.1 /5.1 content, so please look out for them.  *** One important point … upgrades to 10.1 and 5.1 are FREE to those who have already purchased 10.0 / 5.0. *** So, without further adieu, let’s talk about user experience … Building an application that…
  • A single codebase for all devices?

    Jason Hardy-Smith
    6 Feb 2015 | 5:20 pm
    With smartphones, tablets and other mobile devices becoming more and more prevalent in Enterprises, development organizations are often advised to design, build, test and maintain applications for the desktop, and repeat these tasks for every operating system (iOS, Windows, Android, etc.) and individual devices (iPhone 6, iPad, etc.). However, this rapidly becomes unsustainable. Our last customer survey confirmed that the enterprise web applications you build are mostly accessed via desktop. The drivers for this are the tasks being performed, the volume of data involved, and the types of…
  • When did you last hear these 3 little words from your end users?

    Jason Hardy-Smith
    6 Jan 2015 | 3:23 pm
      Since you are reading this blog, I think it is reasonable to assume you have a decent understanding of what it takes to build a web application. I would also bet that your end users have said at least one (all?) of the following when describing a web application you developed for them: “incomplete” “unintuitive” “not user friendly” / “takes too many clicks to do anything” “too slow” “doesn’t work on my iPhone / Adroid / tablet” If you have been tasked with delivering a complex web-based application that end users actually want to use, you will…
  • Dashboards that redefine extensibility

    Jason Hardy-Smith
    11 Dec 2014 | 3:32 pm
    When your users present you with a specification for their dream dashboard, I can promise you this: Once you build it for them, their dreams will get bigger … and they won’t just want more of the same. They will want new capabilities that you didn’t even consider when evaluating dashboard tools. For example, they will suddenly need the ability to kick off a workflow, update data in place, pull data from a legacy website, etc. … all from the dashboard. These types of things can quickly result in reconsideration of your chosen technology. That is why we…
  • Available NOW: SmartClient 10.0 / Smart GWT 5.0

    Jason Hardy-Smith
    10 Sep 2014 | 7:03 am
    Our SmartClient 10.0 / Smart GWT 5.0 release is finally here and it is packed full of goodies! What is in SmartClient 10.0 / Smart GWT 5.0? You can find lots of details in the blogs below: Last batch of features before the big release New mobile features optimize user experience Remote debugging for mobile First batch of new features for SmartClient 10.0 / Smart GWT 5.0 Here’s how to get it: New Customers Download a full featured FREE TRIAL (60 Days) View pricing, versions, and make a purchase Existing License Holders SmartClient 10.0 / Smart GWT 5.0 is a paid upgrade. Discounts are…
  • add this feed to my.Alltop

    DHTMLX Blog

  • DHTMLX Little-Known Features: Segmented Button for Toolbar

    Ivan (DHTMLX team)
    16 Apr 2015 | 5:54 am
    We are glad to share one more DHTMLX tip, and this time you’ll know how to divide the buttons from toolbar into groups (grouped buttons also know as segmented button). You can create several segmented buttons for a single toolbar. Only one button at a time can be pressed within the group. It provides you more abilities with dhtmlxToolbar: click on the screenshot below to open demo and you’ll see how these groups can be used in practice. Click to open live demo On contrast to our previous tips, we have more code this time, so “Ctrl+U” and let’s deal with it together. The…
  • Meet dhtmlxSuite 4.2 with New Component – dhtmlxSidebar

    Ivan (DHTMLX team)
    8 Apr 2015 | 3:41 am
    We are excited to announce the update of our JavaScript UI library, dhtmlxSuite. This update is directed to enhance the functionality of the library by fixing the known bugs and making other improvements. We didn’t add lots of new features to the existing components, but we would like to present a new widget – dhtmlxSidebar. JavaScript Sidebar Navigation Menu Our new JavaScript sidebar component represents a nice vertical navigation menu. Any items can be placed in Sidebar on the left side and any DHTMLX components can be attached on the right. The look of dhtmlxSidebar can be…
  • DHTMLX Little-Known Features: “Soft-Closed” Windows

    Ivan (DHTMLX team)
    31 Mar 2015 | 9:21 am
    One more small DHTMLX tip with the help of which you’ll be able to close window (not collapse), but it will be still active and continue working on background. Why does someone need it? It’ll save you from the necessity to load the definite part of information each time, i.e. the work with your app will render faster. Click to open live demo So, to achieve it, we use the following algorithm: function showWindow(id text) {         // step 1 - init windows on first attempt to show window     if (myWindows null) {    …
  • What else is new in dhtmlxGantt 3.2

    Ivan (DHTMLX team)
    24 Mar 2015 | 1:27 am
    As a follow-up to our recent update of dhtmlxGantt, we’d like to elaborate more on new samples and features that were added to the version 3.2. We hope that it will show you how many cool things can be done with our Gantt Chart and assure you to continue or start using it. We’ve already described such new features like tasks grouping and multi-task selection, so we won’t stop at them now and will proceed to some other updates. Click on the pictures or the links below them to open the samples and try all these features right now. Adding custom buttons in dhtmlxGantt You can…
  • DHTMLX Scheduler .NET Event Calendar Updated to Version 3.3

    Ivan (DHTMLX team)
    20 Mar 2015 | 6:32 am
    The ASP.NET version of DHTMLX Scheduler caught up to the update of our JavaScript version. Scheduler.Net 3.3 came out with the following new features and improvements: “Days” mode for Timeline view added Ability to show multiple days in Units view added Touch devices support in Timeline view improved New option for Tooltip extension added Client-side API of URL and Expand extensions improved Several issues related to Daylight Savings Time switch fixed You may find more details here. Tweet
  • add this feed to my.Alltop

    ②ality – JavaScript and more

  • New number and Math features in ES6

    Axel Rauschmayer
    12 Apr 2015 | 11:53 pm
    This blog post describes the new number and Math features of ECMAScript 6. OverviewYou can now specify integers in binary and octal notation: > 0xFF // ES5: hexadecimal 255 > 0b11 // ES6: binary 3 > 0o10 // ES6: octal 8 The global object Number gained a few new properties. Among others: Number.EPSILON for comparing floating point numbers with a tolerance for rounding errors. A method and constants for determining whether a JavaScript integer is safe (within the signed 53 bit range in which there is no loss of precision). New integer literalsECMAScript 5 already has literals for…
  • Deploying ECMAScript 6

    Axel Rauschmayer
    8 Apr 2015 | 2:13 am
    This blog post describes the options you have for deploying ECMAScript 6 in current JavaScript environments. It is selective w.r.t. the amount of tools it covers. If you want a comprehensive list of tools, I suggest you look at Addy Osmani’s “ECMAScript 6 Tools”. Consult the blog post “Using ECMAScript 6 today” for an overview of ES6 features. Using ECMAScript 6 todayWhat options do you have for using ECMAScript 6 today? ECMAScript 6 features are continually appearing in engines. You can look up which ones are already supported where in Kangax’ “ECMAScript 6 compatibility…
  • Using transpiled ES6 on Node.js

    Axel Rauschmayer
    5 Apr 2015 | 4:26 am
    This blog post explains how to use ES6 on Node.js by transpiling it to ES5 via Babel. A previous blog post showed how to dynamically transpile ES6 at runtime (also via Babel). That is more convenient and should work for most projects, but occasionally you may want a simpler and faster setup for your runtime environment. InstallationInstallation consists of downloading the repository node-es6-demo and executing the following commands, which install all npm packages that the repository depends on: $ cd node-es6-demo/ $ npm install The repo has the following structure: node-es6-demo/ es5/ es6/…
  • Writing client-side ES6 with webpack

    Axel Rauschmayer
    1 Apr 2015 | 6:18 pm
    webpack is a client-side module builder and module loader. This blog post shows you how to write ECMAScript 6 code with it. The code shown here is on GitHub, in the project webpack-es6-demo. webpack featuresNotable webpack features include: Supported module formats: AMD, CommonJS Via loader (plug-in): ES6 Supported package managers: Bower, npm Loaders for non-code: CSS, templates, … On-demand loading (chunked transfer) Built-in development server Installing webpackInstall webpack: npm install -g webpack Enable support for ECMAScript 6 (via Babel): Per project: npm install babel-loader…
  • ES6 generators in depth

    Axel Rauschmayer
    30 Mar 2015 | 1:39 am
    This blog post is part of a series on iteration in ES6: Iterables and iterators in ECMAScript 6 ES6 generators in depth Generators, a new feature of ECMAScript 6 [4], are functions that can be paused and resumed. This helps with many applications: iterators, asynchronous programming, etc. This blog post explains how generators work and gives an overview of their applications. The following GitHub repository contains the example code: generator-examples OverviewTwo important applications of generators are: Implementing iterables Blocking on asynchronous function calls The following subsections…
 
Log in