Ajax

  • Most Topular Stories

  • jQuery 3.0: The Next Generations

    Official jQuery Blog
    Dave Methvin
    29 Oct 2014 | 11:23 am
    It’s hard to believe it’s been nearly eight years since jQuery was released. Web development has changed a lot over the years, and jQuery has changed along with it. Through all of this time, the team has tried to walk the line between maintaining compatibility with code from the past versus supporting the best web development practices of the present. One of those best practices is semantic versioning, or semver for short. In a practical sense, semver gives developers (and build tools) an idea of the risk involved in moving to a new version of software. Version numbers are in the…
  • A Frank Lloyd Wright Approach To Digital Design

    Smashing Magazine
    Kent Eisenhuth
    19 Dec 2014 | 1:00 am
    Frank Lloyd Wright was a century ahead of his time. He was a pioneer, an avant-garde architect who broke free of the traditions of his era. His views on materials, form, function, space and environment define his iconic works. These ideals and principles are still used in architecture today, and his buildings have stood the test of time, remaining relevant even in today’s digital age. I find a lot of inspiration in Wright’s timeless work. As designers, we’re frequently asked to create digital experiences (especially in software) that will have a lifespan of 5 to 10 years. This is an…
  • jQuery 1.11.2 and 2.1.3 Released – Safari Fail-Safe Edition

    Official jQuery Blog
    Dave Methvin
    18 Dec 2014 | 7:46 am
    Season’s greetings! After a thoughtful review of the Naughty and Nice lists, we have decided to leave a small present under the tree to finish 2014: jQuery 1.11.2 and 2.1.3! These releases include several bug fixes to make your cross-browser development experience better. The most significant fix in this release is a workaround for a serious querySelector bug in Safari 8.0 and 7.1. When this bug popped up we were hopeful that it would be fixed in patch releases but that did not happen. Apple is by far the least transparent browser maker, and we have very little information about when…
  • Sencha Space: Beyond Native Packaging—Your Questions Answered

    Sencha Blog
    18 Dec 2014 | 7:56 am
    In last week’s webinar Sencha Space: Beyond Native Packaging, we discussed some of the important aspects of hybrid application development that cause significant friction. Specifically, we illustrated how native packaging tools waste both time and money by forcing developers to repeat the application development lifecycle for each of their supported platforms. We then introduced Sencha Space and demonstrated how it makes the process of developing and deploying HTML5 applications much faster and easier. Using a managed runtime environment that supports desktops, tablets and smartphones,…
  • Dojo Security Advisory 2014-12-08

    The Dojo Toolkit Blog
    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

    Smashing Magazine

  • A Frank Lloyd Wright Approach To Digital Design

    Kent Eisenhuth
    19 Dec 2014 | 1:00 am
    Frank Lloyd Wright was a century ahead of his time. He was a pioneer, an avant-garde architect who broke free of the traditions of his era. His views on materials, form, function, space and environment define his iconic works. These ideals and principles are still used in architecture today, and his buildings have stood the test of time, remaining relevant even in today’s digital age. I find a lot of inspiration in Wright’s timeless work. As designers, we’re frequently asked to create digital experiences (especially in software) that will have a lifespan of 5 to 10 years. This is an…
  • Freebie: Responsive And Mobile Icon Set (100 Icons, PNG, PSD)

    The Smashing Editorial
    17 Dec 2014 | 5:59 am
    This responsive and mobile-themed icon set, designed by the folks behind Iconshock91 and Designshock102, consists of 100 individual icons merging outlined as well as flat styles, all vectors built in Photoshop, in four transparent PNG image sizes and available in two color versions: a limited cold palette and a warm colorful one. The vector editable source files are included. Please note that this icon set is licensed under a Creative Commons Attribution 3.0 Unported3. You may modify the size, color or shape of the icons. No attribution is required, however, reselling of bundles or individual…
  • Chartist.js, An Open-Source Library For Responsive Charts

    Gion Kunz
    16 Dec 2014 | 5:57 am
    The list of charting libraries for the web is already quite long, and you might ask yourself why we would need to make it any longer. Whenever you need to develop an application’s dashboard, embed some usage statistics or simply visualize some data, you will find yourself looking for a charting library that fits your needs. Chartist was developed for a very particular need: to create simple responsive charts. While other charting libraries do a great job of visualizing data, something is always missing to satisfy this simple yet demanding need. In this article, we’ll show you how to use…
  • Understanding Mobile Back End As A Service

    David Tucker
    15 Dec 2014 | 5:52 am
    What if you could create an entire back end for your mobile applications that was feature-complete in data synchronization, push-notification support, user management and file-handling before you even started building the mobile experience? What if it was architected in such a way that you could easily create new cross-platform native and web applications seamlessly on this back end? While this might sound like a fairy tale, it is exactly what providers of mobile back end as a service (MBaaS) are aiming to give app developers. It is up to you to determine whether that is true for the…
  • Design Principles: Visual Weight And Direction

    Steven Bradley
    12 Dec 2014 | 6:02 am
    Every element on a web page exerts a visual force that attracts the eye of the viewer. The greater the force, the more the eye is attracted. These forces also appear to act on other elements, imparting a visual direction to their potential movement and suggesting where you should look next. We refer to this force as visual weight1 and to the perceived direction of visual forces as visual direction. Both are important concepts to understand if you want to create hierarchy, flow, rhythm and balance in your composition. Note: This is the fourth post in a series on design principles. You can find…
 
  • add this feed to my.Alltop

    Official jQuery Blog

  • jQuery 1.11.2 and 2.1.3 Released – Safari Fail-Safe Edition

    Dave Methvin
    18 Dec 2014 | 7:46 am
    Season’s greetings! After a thoughtful review of the Naughty and Nice lists, we have decided to leave a small present under the tree to finish 2014: jQuery 1.11.2 and 2.1.3! These releases include several bug fixes to make your cross-browser development experience better. The most significant fix in this release is a workaround for a serious querySelector bug in Safari 8.0 and 7.1. When this bug popped up we were hopeful that it would be fixed in patch releases but that did not happen. Apple is by far the least transparent browser maker, and we have very little information about when…
  • Improving the Pointer Events Polyfill

    Kris Borchers
    17 Dec 2014 | 9:45 am
    Today, we’re excited to announce that Google has transferred its Pointer Events polyfill to the jQuery Foundation. This polyfill was originally written by Google’s Polymer team but since Google has chosen to put their Pointer Event implementation on hold, we engaged to ensure that the polyfill is maintained and continues to be a tool developers can use as a path to the eventual native implementation in all browsers. Many thanks to Google and the Polymer Team for allowing us to build off their work and continue development. The jQuery Foundation has been, and continues to be a…
  • QUnit 1.16 Release and Roadmap

    Jörn Zaefferer
    10 Dec 2014 | 5:32 am
    We’ve just released QUnit 1.16, an important milestone for the project. This release introduces several new APIs that will become the default in QUnit 2.0. To help migrate to these APIs, you can start using them today in 1.16. Our 2.x upgrade guide provides all the details you need to change your existing test suite to the new APIs. Here’s a quick overview of the new APIs: QUnit.test( "assert.async() test", function( assert ) { var done = assert.async(); var input = $( "#test-input" ).focus(); setTimeout(function() { assert.equal( document.activeElement, input[0], "Input was focused" );…
  • jQuery 3.0: The Next Generations

    Dave Methvin
    29 Oct 2014 | 11:23 am
    It’s hard to believe it’s been nearly eight years since jQuery was released. Web development has changed a lot over the years, and jQuery has changed along with it. Through all of this time, the team has tried to walk the line between maintaining compatibility with code from the past versus supporting the best web development practices of the present. One of those best practices is semantic versioning, or semver for short. In a practical sense, semver gives developers (and build tools) an idea of the risk involved in moving to a new version of software. Version numbers are in the…
  • jQuery Foundation Adopts Mousewheel Plugin

    Scott Gonzalez
    27 Oct 2014 | 11:15 am
    The jQuery Foundation is pleased to announce that Brandon Aaron has donated his jquery-mousewheel plugin to the jQuery Foundation. Brandon is a jQuery team alumnus and he leaves the plugin in great shape with very few open issues. It’s a very popular plugin, one that’s often used along with jQuery UI and other widgets. Adopting the mousewheel plugin is part of the jQuery Foundation’s mission to make a web developer’s work easier. We want to ensure that web developers can use this plugin and be confident it will be supported into the future. We can’t do this…
  • add this feed to my.Alltop

    Sencha Blog

  • Sencha Space: Beyond Native Packaging—Your Questions Answered

    18 Dec 2014 | 7:56 am
    In last week’s webinar Sencha Space: Beyond Native Packaging, we discussed some of the important aspects of hybrid application development that cause significant friction. Specifically, we illustrated how native packaging tools waste both time and money by forcing developers to repeat the application development lifecycle for each of their supported platforms. We then introduced Sencha Space and demonstrated how it makes the process of developing and deploying HTML5 applications much faster and easier. Using a managed runtime environment that supports desktops, tablets and smartphones,…
  • SenchaCon 2015: Call for Papers is Open

    17 Dec 2014 | 7:56 am
    SenchaCon 2015 will offer two days of technical sessions presented by Sencha customers and partners, as well as the Sencha team. This is your chance to share how you’ve used Sencha technology to design, develop and deploy amazing applications. These three tracks will give everyone an opportunity to dive into the latest innovations in HTML5 application development. If your proposed talk is approved, you’ll receive one complimentary pass to the event and have the opportunity to hang out with hundreds of developers from leading enterprises across the world. Here’s a quick recap…
  • Announcing Sencha Ext JS 5.1

    11 Dec 2014 | 7:56 am
    On behalf of Sencha and the entire Ext JS team, I’m proud to announce the release of Sencha Ext JS 5.1. With this release, we’ve added exciting new features that further improve the richness of the Sencha Ext JS framework, especially around building data-driven single page applications. Ext JS 5.1 comes with an entirely new grid selection model (the spreadsheet model), along with other components and enhancements, including 3D columns and bar charts, a color selector, a rating widget, and an enhanced drawing package. These enhancements are a result of great feedback from our customers…
  • Top Support Tips

    9 Dec 2014 | 8:29 am
    ExtraParams in Ext JS 5 by Greg Barry Ext JS 4 allowed users to append extraParams directly to a connection like so:   Ext.Ajax.extraParams { foo "bar" }   Due to changes in the Ext JS 5 data package, this is no longer a viable solution. You should now use the setExtraParams() and getExtraParams() methods provided by Ext.data.Connection. For instance:   Ext.Ajax.setExtraParams({ foo "bar" })   For more information about these methods, please review the following resources: Ext.data.Connection You can see this functioning in a…
  • Sencha Space Webinar Series: Session 2 - Beyond Native Packaging

    5 Dec 2014 | 12:15 pm
    We are pleased to announce the second installment in our Sencha Space webinar series. In this session, we’ll explore the deficiencies of native packaging solutions and how Sencha Space provides a better way to deploy, secure, and manage hybrid applications. By leveraging the management and security features of Sencha Space, while eliminating the need for native packagers and app store distribution, organizations can realize significant productivity gains and cost savings over the lifetime of their applications. Space Webinar: Beyond Native Packaging Tuesday, December 9, 2014 10:00am San…
 
  • add this feed to my.Alltop

    The Dojo Toolkit Blog

  • 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…
  • Autumn 2014 Dojo events

    Dylan Schiemann
    29 Aug 2014 | 4:45 am
    There are a number of Dojo events this autumn. We hope to meet you at one of these events: Dojo Community Day Dojo Community Day. October 26, Amsterdam. Free registration required. Meetups Intern 2. October 9, Nick Nisi, SitePen. London, UK. Free registration required. Intern 2. October 16, Dylan Schiemann, SitePen. Boston, MA. Free registration required Conferences EdgeConf. September 20, Dylan Schiemann, SitePen. San Francisco. Paid registration required. FullStack. October 23-24, Dylan Schiemann, SitePen. London, UK. Paid registration required Training Workshops Dojo 101, 201, and 202.
  • Dojo community day Switzerland

    Dylan Schiemann
    18 Aug 2014 | 2:18 pm
    We recently hosted a Dojo Community Day in Brugg, Switzerland on the Saturday following a week of Dojo workshops. We had about 25 Dojo users and committers join us from England, France, Netherlands, Germany, Romania, Austria, and Switzerland for a fun day of hacking and discussions about current and future directions of Dojo. We began the day by welcoming the group at the modern university in Brugg/Windisch and, thanks to SitePen, we had Dojo t-shirts and stickers for everyone. After some initial time to socialize and get everyone situated with wifi, I delivered a short talk on the current…
  • Case study: HPCC Systems

    Dylan Schiemann
    31 Jul 2014 | 12:01 am
    The large companies that use Dojo are widely known. This series features lesser known users of Dojo, and their stories. This time, we interview Gordon Smith from HPCC Systems, a subsidiary of LexisNexis RISK Solutions. Q: How did you first learn about Dojo? A: Through Google / Stack Overflow. I suspect my “discovery” of Dojo was a bit different to the norm, as prior to 2013 I had never really done any Web Development. Up until then I was predominantly a C++ Developer, some Java and a smattering of C#. Initially I wanted to knock together a single page proof of concept, consisting…
  • Case study: FreeNAS

    Dylan Schiemann
    18 Jun 2014 | 5:45 am
    The large companies that use Dojo are widely known. This series features lesser known users of Dojo, and their stories. This time, we interview William Grzybowski from iXsystems, a California-based company and creators of FreeNAS. Q: How did you first learn about Dojo? A: Around Dojo 1.3. I was tasked to write a tree menu and I was pointed to a Dojo example of the dijit/tree. The learning curve was higher compared to other simple frameworks but it was totally worth it. Q: Why did you choose Dojo? A: We were looking for a JavaScript toolkit capable of build an UI-rich application, Dojo did…
  • add this feed to my.Alltop

    Google Web Toolkit Blog

  • GWT 2014 Survey

    Bhaskar Janakiraman
    1 Dec 2014 | 4:26 pm
    The GWT development community has been using GWT survey results for the past two years as valuable input into planning for future GWT releases. Please help us continue this for next year, by filling in this year's GWT survey, conducted by Vaadin Ltd. This survey is similar to the GWT 2013 survey, whose results can now be downloaded directly from http://www.gwtproject.org/gwt_surveys.html.  Vaadin plans to make the results of the survey freely available in February 2015 at GWT.create and for free online at the same time.
  • GWT 2.7 Finalized!

    Bhaskar Janakiraman
    21 Nov 2014 | 3:55 pm
    Thanks to everyone who pitched in and helped test GWT 2.7 RC1. We are happy to announce that GWT 2.7 is now final.  See release notes for a summary of changes.  You can download this release from here. We also have a new GPE that includes Super Dev Mode support, get it from here. - GWT and GPE Teams
  • GWT.create 2015 is around the corner...

    Bhaskar Janakiraman
    18 Nov 2014 | 4:12 pm
    The 2015 GWT.create conference is happening on January 22-23 in Mountain View, California and on January 27-28 in Munich, Germany. Many Googlers will be attending this year at the Mountain View venue, including the GWT team and people from teams using GWT within Google. This year’s sessions will include coverage of new functionality in upcoming versions of GWT, including Java 8 support and better interoperability with Javascript and Web Components. We will also talk about how Inbox by Gmail was built, using GWT and j2objc together to run the same code on the web and mobile devices. We hope…
  • GWT 2.7 RC1 is here!

    Bhaskar Janakiraman
    4 Nov 2014 | 10:15 am
    Today we are excited to announce GWT 2.7 Release Candidate 1.  Thanks to everyone who contributed to this release. This release has the much anticipated support for incremental compilation in Super Dev Mode, dramatically reducing interactive build times. GWT 2.7 also has a host of new features, performance improvements and bug fixes.  For a summary of changes since GWT 2.6.1, read the release notes You can download this release from here For this release, we also have updated the GPE to include support for Super Dev Mode, get it from here - GWT & GPE Team
  • GWT.create 2015 Conference

    Bhaskar Janakiraman
    4 Sep 2014 | 3:10 pm
    Vaadin is hosting the second GWT.create conference, with repeat events in Mountain View and Munich. This is going to be another exciting event, connecting GWT developers worldwide. The following is a guest blog post from Fredrik Rönnlund of Vaadin Ltd. GWT.create Conference, January 22-23. 27-28, 2015 The largest dedicated GWT conference is back in January. Last year over 650 people joined the GWT.create conference and this time we're redoing the conference as an even larger conference. We're happy to announce speakers from Google's GWT team, the original creators of GWT Bruce Johnson and…
 
  • add this feed to my.Alltop

    The Isomorphic Software Blog

  • 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…
  • Last Batch of Features Before the Big Release

    Jason Hardy-Smith
    19 Aug 2014 | 10:34 am
    SmartClient 10.0 / Smart GWT 5.0 will be released around the end August. This is a MAJOR release. We are currently adding the final layer of polish before we let it go. Meanwhile, here are a few more features that we think you will like … and you can try them out now!   CubeGrid WYSIWYG Excel Export CubeGrids can now export to excel with data arranged the same way you see in the cube: row and column headers arranged around a central body area. Also, Big Data is no problem: you can now export gigantic amounts of data to Excel (eg 1 million plus rows) with no issues and no…
  • New Mobile Features Optimize User Experience

    Jason Hardy-Smith
    19 Jun 2014 | 1:24 pm
    The Isomorphic Enterprise Mobile Application Strategy Many analysts, MEAP providers and other “experts” promote a mobile enterprise application platform strategy that was developed for consumer offerings (LinkedIn, Facebook, Twitter, etc.). At Isomorphic Software, we realize that Enterprise users and Consumer users have very different needs and usage patterns. So our strategy is different: Built in mobile adaption that allows you to code once for all devices Intelligent Data Management for unprecedented scalability and responsiveness The broadest, deepest set of device aware…
  • Remote Debugging for Mobile coming next release!

    ray
    23 Apr 2014 | 7:39 pm
    Smart GWT 5.0 and SmartClient 10.0 have a lot of exciting upgrades for mobile applications, including a new Remote Debugging feature for the Developer Console. While the Developer Console already works on mobile devices, it currently appears as a separate tab or browser window, and phone-sized devices don’t have the screen space necessary to use tools like the Watch Tab. Remote Debugging allows you to run the Developer Console on your desktop machine to debug a page running on a mobile device. With Remote Debugging, you can use all of the powerful debugging features of the Developer…
  • add this feed to my.Alltop

    DHTMLX Blog

  • New dhtmlxTemplate Function: How to Use (Live Demo inside)

    Ivan (DHTMLX team)
    11 Dec 2014 | 6:32 am
    Two weeks ago we updated dhtmlxSuite to the version 4.1. This update introduced a new interesting function – dhtmlxTemplate. We decided to tell more about it in case if some of you haven’t tried to use it yet. What is DHTMLX Template? It is a function that allows using templates instead of fixed values. This means that you can have one and the same text which will have different dynamic parts (templates). You may use string, date or number templates or create your own one. Where to use Template? You can use templates in any texts that are identical in their structure and meaning,…
  • DHTMLX Little-Known Features: Custom Slider Control [Mini-Tutorial]

    Ivan (DHTMLX team)
    2 Dec 2014 | 6:06 am
    If you face the necessity to include a slider control into your app or website and want to customize it to meet your design requirements, then this article for you – here you will learn how to create new skins for the simple JavaScript slider control, dhtmlxSlider. As a basis, we take a standard slider bar from the dhtmlxSuite package. To create a new design, we need two slider elements – runner and track. These elements can be both a div and an image (depends on the complexity of the required view). Remember of the image for a vertical slider, if you need it. We’ll describe…
  • dhtmlxSuite 4.1: Your DHTMLX based apps run on touch devices

    Ivan (DHTMLX team)
    25 Nov 2014 | 4:30 am
    We are happy to inform you about the update of our JavaScript UI library. Meet dhtmlxSuite 4.1 with touch devices support, a number of new features and lots of significant enhancements. This update comes with lots of technical improvements and bug fixes. But surely, we couldn’t do without adding something new. Let’s review the most important updates. Full touch support A long-awaited support for touch devices is added to dhtmlxSuite. Now you can use our library for building not only desktop applications, but for creating the interactive mobile apps. Check our new demo that…
  • New DHTMLX component! Try it now and influence on future development

    Ivan (DHTMLX team)
    17 Nov 2014 | 3:56 am
    We are very excited to present a new DHTMLX component that later on will be included in dhtmlxSuite library. This component represents a layout with the possibility to drag-and-drop its cells. So, meet dhtmlxPortal! We want you to try the beta-version of this new JavaScript UI component and tell us about your experience. What should you know about it before trying? dhtmlxPortal provides you the ability to re-order the cells in the layout at any time without the necessity of coding. You just drag the cell and drop it to the needed position. As well as dhtmlxLayout, dhtmlxPortal provides a set…
  • DHTMLX Scheduler Updated to Version 4.2

    Ivan (DHTMLX team)
    12 Nov 2014 | 4:21 am
    Meet the updated version of our JavaScript Event Calendar – dhtmlxScheduler 4.2! This update introduces fixes of known bugs, performance improvements and a number of new and improved features. This update was directed to solve the known performance issues with the Timeline view – on most configurations the rendering time has been decreased in 2-3 times! Bootstrap compatibility Since v4.2, dhtmlxScheduler is fully compatible with Bootstrap, one of the most popular HTML, CSS, and JS framework. Custom form for recurring events Moreover, the new version introduces the possibility to…
  • add this feed to my.Alltop

    ②ality – JavaScript and more

  • One JavaScript: avoiding versioning in ECMAScript 6

    Axel Rauschmayer
    18 Dec 2014 | 11:56 am
    What is the best way to add new features to a language? This blog post describes the approach taken by ECMAScript 6 [3], the next version of JavaScript. It is called One JavaScript, because it avoids versioning. VersioningIn principle, a new version of a language is a chance to clean it up, by removing outdated features or by changing how features work. That means that new code doesn’t work in older implementations of the language and that old code doesn’t work in a new implementation. Each piece of code is linked to a specific version of the language. Two approaches are common for…
  • Meta programming with ECMAScript 6 proxies

    Axel Rauschmayer
    9 Dec 2014 | 1:11 am
    This blog post explains the ECMAScript 6 (ES6) feature proxies. Proxies enable you to intercept and customize operations performed on objects (such as getting properties). They are a meta programming feature. The code in this post occasionally uses other ES6 features. Consult “Using ECMAScript 6 today” for an overview of all of ES6. Before we can get into what proxies are and why they are useful, we first need to understand what meta programming is. Programming versus meta programmingIn programming, there are levels: At the base level (also called: application level), code processes user…
  • Mobile-friendly web pages

    Axel Rauschmayer
    18 Nov 2014 | 3:59 pm
    Google has announced that they are marking web pages as “mobile-friendly” in their search results. I was initially worried about this, because many websites have mobile-specific versions that are worse than their desktop versions on mobile devices. I also don’t like being auto-forwarded to mobile locations (e.g. from www.example.com to m.example.com), because it prevents URLs from being universal. However, Google’s criteria for mobile-friendliness are reasonable: Pages must… Avoid software that is not common on mobile devices, like Flash Use text that is readable without zooming…
  • Statically typed JavaScript via Microsoft TypeScript, Facebook Flow and Google AtScript

    Axel Rauschmayer
    28 Oct 2014 | 7:24 am
    Update 2014-11-18: Facebook Flow has been released as open source. Its website is flowtype.org. The site mentions plans for Flow’s future. This blog post looks at three initiatives for adding static typing to JavaScript: Microsoft’s TypeScript, Facebook’s Flow and Google’s AtScript. TypingLet’s first clarify some terminology related to typing (excerpted from “Speaking JavaScript”). Static versus dynamicIn the context of language semantics and type systems, static usually means “at compile time” or “without running a program,” while dynamic means “at runtime.” Static…
  • ECMAScript 6 promises (2/2): the API

    Axel Rauschmayer
    5 Oct 2014 | 4:12 am
    This blog post is an introduction to asynchronous programming via promises in general and the ECMAScript 6 (ES6) promise API in particular. It is second in a series of two posts – part one explains foundations of asynchronous programming (which you may need to learn in order to fully understand this post). Given that the ECMAScript 6 promise API is easy to polyfill for ECMAScript 5, I’m mainly using function expressions and not ECMAScript 6 arrow functions, even though the latter are much less verbose. PromisesPromises are a pattern that helps with one particular kind of asynchronous…
 
Log in