DCSIMG
May 2012 - Posts - Gil Fink's Blog

Gil Fink's Blog

Fink about IT

News

Microsoft MVP

My Facebook Profile My Twitter Profile My Linkedin Profile

Locations of visitors to this page

Creative Commons License

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
© Copyright 2013 Gil Fink

Hebrew Articles

Index Pages

My OSS Projects

English Articles

May 2012 - Posts

New Speaking Engagement – DevConnections

New Speaking Engagement – DevConnections

New Speaking Engagement – DevConnectionsLately, I have been chosen to speak at the DevConnections conference. The conference will take place between October 29 and November 1 at the Bellagio hotel, Las Vegas, NV, USA. I’ll have two sessions in the HTML5 Connections:

  1. Using Communication and Messaging APIs in HTML5 Applications
    HTML5 defines new standards for communication and messaging between the browser and the server. In this session we will deep dive into HTML5 messaging APIs such as postMessage and Notifications and also into communication APIs such as CORS and server-sent events. We will also discuss where we can implement these APIs while building HTML5 web applications.
  2. Working with Client-Side HTML5 Storage Technologies
    HTML is the markup language that every web developer uses in order to structure and present content in the Internet. HTML5 is the standard that is being shaped and developed currently. It extends and improves the last HTML4 standard and takes it to the next level with support for multimedia, communication, semantics and more. In this session we will deep dive into the new storage options that HTML5 brings and how to use them. The session will discuss Web Storage, IndexedDB and AppCache APIs.

See you there!

story.js on Nuget Gallery

story.js on Nuget Gallery

story.js on NugetToday I decided to create a Nuget package for story.js. I was planning to do that earlier in the development process but since I‘m so occupied with work lately I forgot to (my bad). If you are not familiar with the Nuget Package Manager, I urge you to read the following post I wrote.

In order to install story.js package in Nuget, all you have to do is one of the following:

  • In Visual Studio, in the Nuget Package Manager Console, write:
    PM> Install-Package story.js
    Like in the following figure
    Nuget Package Manager Console
    and press Enter.
  • In Visual Studio, right click on your web project and choose Manage NuGet Packages menu item. Choose the Online tab, write story.js in the search box and press the Install button to install story.js package. 
  • Manage NuGet Packages

The package includes story.js, story.query.js and their minified versions. The files will be installed into your Scripts directory since it is a convention that most developers use these days.

Enjoy!

story.js New Query Object

story.js New Query Object

story.js New ReleaseIf you are following my Blog you probably know that I’ve published a new JavaScript library by the name story.js. story.js enables web developers to use client-side storages in a simple and consistent way.

Today, I’ve added a new feature – query language which resembles LINQ. The query language implementation include functions such as where, forEach, first, last and etc. The query language was created as a plugin to story.js and we are going to add more features to it in the near future. Here is an example of using story query:

/// <reference path="../story.js" />
/// <reference path="../story.query.js" />
 
var storage = story.storage(story.StorageTypes.IN_MEMORY);
storage.add("key1", "value1").then(function (data) {
}, function (error) {
});
storage.add("key2", "value2").then(function (data) {
}, function (error) {
});
storage.add("key3", "value3").then(function (data) {
}, function (error) {
});
storage.getAll().then(function (data) {
    var items = storage.query.from(data).where(function (item) {
        return item.key === "key2";
    }).forEach(function (item) {
        console.log(item.key + ' ' + item.value);
    });
}, function (error) {
    console.log(error);
});

If you want to play with story.js you can download it from here.
If you have any feedback it is most welcome.

Enjoy!

New Speaking Engagement - vNEXT Seattle Developers Community

New Speaking Engagement - vNEXT Seattle Developers Community

Another Speaking Engagement - vNEXT Seattle Developers CommunityAs I wrote in a previous post, I’m going to be in the US on August to speak in the VSLive conference. During my stay in Seattle I’ll join forces with Ido Flatow and we both will deliver sessions in the vNEXT Seattle Developers Community.

I’m going to have a session about the new communication and messaging APIs in HTML5 while Ido will talk about debugging the Web with Fiddler.

Here are the details of my session:

Using Communication and Messaging API in The HTML5 World:
HTML5 defines new standards for communication and messaging between the browser and the server.
In this session we will get to know the new HTML5 messaging APIs and the new HTML5 communication APIs.
We will also discuss where we can implement these APIs while building HTML5 web applications.

Here is the is the link to the event.
See you there!