javascipt

Featured Post

Interesting Features in ECMAScript 6

By: Brent Wodicka

javasciptAre you writing a lot of JavaScript as part of your web application? Spending a lot of time debugging that JavaScript? I want to discuss a debugging technique today using that old standby, console.log and overcoming one of its deficiencies.

Using console.log can be useful for printing out application state without interrupting your workflow. Contrast that with using a JavaScript breakpoint where you are forced to break your workflow to check the application state and then resume the execution of your application.

So, now that I’ve refreshed your memory on the upside of console.log over a breakpoint, let’s talk about the downside compared to breakpoints. To add a console.log statement, you have to edit the source code of your application. And editing the source code of your application is an even bigger break in your debugging workflow. You have to go back to the editor, add the log statement, refresh the page, and then go back to where you were. And don’t forget to remove that log statement before you commit your source code.

Well what if you could avoid those limitations? Read More…

nosqlJoin AIS for a webinar presentation on Microsoft Azure DocumentDB and NoSQL options in Azure. In this presentation we will introduce Microsoft Azure DocumentDB, a document-oriented, NoSQL database service designed for modern mobile and web applications.

Thursday, June 25, 2015 | 12:00 PM – 1:00 PM EST
Online | RSVP Today

DocumentDB delivers consistently fast reads and writes, schema flexibility, and the ability to easily scale a database up and down on demand. DocumentDB also enables complex ad hoc queries using a dialect of SQL, supports well defined consistency levels, and offers JavaScript language integrated, multi-document transaction processing using the familiar programming model of stored procedures, triggers and UDFs. Read More…

systemsSystem.Transactions was introduced in .Net 2.0.  According to Jim Johnson, who was the architect on the team that created this model, one of the design goals of System.Transactions was to extend the reach of transactions beyond DBMS (Database Management Systems) by allowing creation of transactional resources. Another goal was to simplify the programming model and the interface to use transactions.

System.Transactions.TransactionScope provides an implicit programming model in which the transactions are automatically managed by the infrastructure. It provides a simple mechanism for you to specify a code block to participate in a transaction. TransactionScope reduces the complexity of code that need to use transactions and it allows existing transaction providers to be retrofitted to participate in this programming model. Nested transaction work transparently. Disparate transaction providers can participate in a transaction without increasing the complexity of your code. No wonder TransactionScope is so popular! Read More…

At the recently concluded Microsoft BUILD conference, Azure team announced their vision for the next generation of PaaS platform – Azure Service Fabric.

Azure Service Fabric provides a high control platform that enables developers and ISVs to build cloud services with a high degree of scalability and customization. Service Fabric was born from Microsoft’s years of experience delivering mission-critical cloud services and has been in production for more than five years. It provides the foundational technology upon which Azure’s core infrastructure is ran and also powers services like Skype for Business, InTune, Event Hubs, DocumentDB, Azure SQL Database (across more than 1.4 million customer databases) and Bing Cortana – which can scale to process more than 500 million evaluations per second.

Join AIS for a webinar session where we will discuss key concepts and motivations behind Azure Service Fabric. Read More…

chimp(1)For many, developing and delivering the front-end of a website or application is often centered on the development of pages within the project. But with that approach, it doesn’t take very long for your CSS file(s) to become overgrown and difficult to maintain. Before you know it rules are duplicated, important tags are cluttering declarations and regression issues are flooding the bug list. It can go from bad to frustrating pretty quickly.

So what’s a Front-End Dev to do? Instead of focusing on the development of elements for each page, shift your focus and consider the entire project, building components that can easily be reused throughout the site or application. And that’s where Pattern Libraries step in: They provide a structured visual reference that presents and organizes the components of the project, streamlines development and helps deliver a cohesive, maintainable product.

Read More…

azureI recently needed to verify the integrity of a large number of XML files that are stored in Azure Blob Storage. These files were essentially hand-written and contained numerous typos, errors and other inconsistencies. I needed to not only identify files that contained well-formed XML, but also find files containing nodes with names that were not on a list of known good names.

Read More…

bondiBondi Digital Publishing has relied on AIS for several years to build and enhance it’s Cloud Hosted digital magazine archive platform. Vogue, Rolling Stone, and many other magazines now have a compelling avenue for delivering content to their readers. Both back issues and new and upcoming issues of magazines are provided online in a beautiful HTML5 viewer.

The Bondi Digital Archive has grown, and with that growth new challenges have arisen. Some publishers have come to Bondi with a need to make hundreds or thousands of back issues available online as quickly as possible. However, once the back issues were all scanned, the images and metadata had to be processed before the final digital product was ready. This processing was taking an immense amount of time – sometimes up to several weeks. The publications wanted their back issues available online much more quickly than that. Read More…