Quick Tip – Transclusion in React

March 23, 2016

Yesterday I created a complex React menu component that needed to host another component. In order to do the same behavior in Angular v1 you would have probably used transclusion. In React in order to host a child/ren component inside a host parent component you can use the props.children property. The following example shows a simple component that exposes the option to host other components: export class ExampleComponent extends Component { render() { function createItem(item) { return...
no comments

AngularJS Labs Meetup Speaking

March 19, 2016

Next month, while I’ll be in London for DevWeek conference, you can join me and other fellow speakers to an evening of lightning talks in AngularJS Labs Meetup. In my session, which is called “Who’s Afraid of Front-End Databases?“, I’ll talk about front-end databases and in particularly IndexedDB.Then, I’ll present angular2-indexeddb an experimental library I wrote that wraps IndexedDB in an AngularJS 2 service.I want to thank Gerard Sans for the invitation to come and speak! If you are interested, the event registration is still open. See you there!

Intro to TypeScript Language Slide Deck and Demos

February 25, 2016

Last night I delivered a session in JavaScript Israel Meetup: “Intro to TypeScript Language”. First of all, I want to thank the audience who came to hear a session at the end of a working day! Also, I would like to thank Shai and Oren who invited me to speak in the Meetup. In the session I covered the why to use TypeScript, some key features and how to kick start with the language. If you want to take a look at the slide deck and demos you can find them online.
no comments

angular2-indexeddb Repository is Alive

February 2, 2016

Yesterday I was working on a session idea and started playing with Angular 2 and IndexedDB. The result is angular2-indexeddb an experimental Angular 2 library that wraps IndexedDB database in an Angular 2 service. The library exposes very simple API to enable the usage of IndexedDB without most of it plumbing you will have to do to make it work. I’ll be happy to get your feedback.
3 comments

My Public Speaking Dilemma

January 27, 2016

For some of you this post will probably sound like a rant. But what the hack… I started my public tech speaking more than 9 years ago and since then I talked in numerous international conferences, user groups, Meetups and more. I really enjoy speaking and I recommend that to whoever want to share his knowledge and experience. The big bonus in speaking is meeting a lot of people who care about their profession and want to learn new stuff (and even old stuff from time to time) which can enrich their knowledge. I remember my first session preparation like...
5 comments

New Speaking Engagement – DevWeek 2016

January 23, 2016

Two weeks ago I was notified that I got accepted to speak in DevWeek 2016 conference. This is going to be the third time I’m coming to speak in DevWeek and I’m really excited to meet all the attendees, speakers and conference organizers.   In the conference I’m going to have two sessions. Here are the session details: One language to rule them all: TypeScript Creating cross-platform, application-scale JavaScript code that runs in any browser or in any host is very hard. TypeScript is a programming language that changes that situation. In this session, Gil will introduce the TypeScript language....

New Article – Biological Modeling with AngularJS

January 10, 2016

A few days ago, DotNetCurry magazine published another article that I wrote. The article is called "Biological modeling with AngularJS" and it explains a few biological concepts and how to implement them using AngularJS and some HTML5 JavaScript APIs. Here is were you can download the entire magazine. Enjoy! and let me know what do you think about the article.
2 comments

ngPrint and ngConfig GitHub Repositories are Alive

January 2, 2016

Lately, I was asked twice if I can publish in GitHub the AngularJS print directive I wrote almost a year ago. So I decided to raise the glove and do exactly that.ngPrint repository is alive in GitHub for two days.I also decided to create a second repository for a configuration service that I use from time to time in projects.ngConfig repository is also alive in GitHub since yesterday. I hope you will find these repositories helpful and if you have any comments, fixes and suggestions please ping me.

My Codemotion Tel Aviv 2015 Slide Deck and Demos

December 16, 2015

I just finish delivering a session called “Biological Modeling, Powered by AngularJS” in Codemotion Tel Aviv 2015 conference.First of all, I want to thank the audience who came to hear a session at the end of the day!Also, I want to thank the conference organizers for having me both as a speaker and as the front-end track moderator! If you want to take a look at the slide deck and demos you can find them online.
no comments

Copy to Clipboard Directive

November 14, 2015

Yesterday I was requested to create a “copy to clipboard” behavior in an AngularJS application I’m building. The main idea was to mark some content which has a meaning and to enable the user to copy the “meaning” to the clipboard by pressing a button. Here is the directive I ended up with: (function () { 'use strict'; angular. module("demo"). directive("copyToClipboard", copyClipboardDirective);  function copyClipboardDirective() { var clip;  ...
no comments