Angular Flex layout system using FlexBox CSS and mediaQuery

  • Angular Flex Layout provides a sophisticated layout API using FlexBox CSS + mediaQuery.
  • On the third one (line 20 to 24) the horizontal alignment is begin and vertically is center.
  • On the second row (line 13 to 17) the horizontal alignment is space-around and vertically is center.
  • On the first row (line 6 to 10) I set the first block on 20% width, the second 60% and the third fill the remain space.
  • The module provides Angular (v2.x and higher) developers with component layout features using a custom Layout API, mediaQuery observables, and injected DOM flexbox-2016 css stylings.

Angular Flex Layout provides a sophisticated layout API using FlexBox CSS with mediaQuery enabling the API to be Responsive
Continue reading “Angular Flex layout system using FlexBox CSS and mediaQuery”

Thanks 2016

  • You are commenting using your Facebook account.
  • Post was not sent – check your email addresses!
  • The entry was posted in Community and tagged Community .
  • As part of my job, creating awareness about highly useful Infragistics products among community and customers.
  • In 2017, I am aspired to work harder and enable more developers for better coding, project and job.

I thank each one of you for your support in 2016. It was a great year for me. I have been enjoying evangelism at Infragistics. As part of my job, creating awareness about highly useful Infragistics products among community and customers. Besides my day job, I am very proud to host Angular 2 road show…
Continue reading “Thanks 2016”

Using Angular Universal with Sql Server

  • export const realDataBase = { get() { return friendsQuery(); } }; function friendsQuery() { return new Promise(function(resolve, reject){ var Connection = require(‘tedious’).Connection; var result = []; var config = { userName: ‘userName’, password: ‘password’, server: ‘some-server’ }; var connection = new Connection(config); connection.on(‘connect’, function(err) { if (err) { console.log(err); } getFriends(); }); var Request = require(‘tedious’).
  • Friends

    Id
    First Name
    LastName

    {{friend.
  • I simply swapped out the hard coded return value for the results of a sql query.
  • If you want to run this against your own database, just fill in the config object with your credentials and define a sql query.
  • In the post I will show how to use Angular Universal with Sql Server.


For the purposes of this post I have cloned the universal-starter, but replaced the simulated database with a real sql server database.

Continue reading “Using Angular Universal with Sql Server”

Implement async guards to protect your client-side Angular routes

  • I’m a tech writer, author, Software Craftsmanship Meetup organizer and DZone MVB.
  • I’m Juri, a full stack developer and tech lead with a special passion for the web and frontend development.
  • If you enjoyed the post you might want to follow me on Twitter for more news around JavaScript and Angular 2.
  • Implement async guards to protect your client-side Angular routes
  • Nov 28, 2016


Continue reading “Implement async guards to protect your client-side Angular routes”