Welcome!

From the Trenches of the Enterprise Software

Yakov Fain

Subscribe to Yakov Fain: eMailAlertsEmail Alerts
Get Yakov Fain via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Yakov Fain

The current version of Angular is Release Candidate 1. This version changed the way how the framework is distributed – it comes as a set of scoped npm packages now. Any imports of the Angular classes will be done from @angular instead of angular2, for example: import {bootstrap} from '@angular/platform-browser-dynamic'; import {Component} from '@angular/core'; The content of package.json, index.html, and the configuration of the SystemJS loader has to be changed accordingly. This post is an extract of our book Angular 2 Development with Typescript, and it’ll show you how to get started with a new Angular 2 RC.1 project. You can find the source code of the initial angular-seed project at https://github.com/Farata/angular2typescript/tree/master/chapter2/angular-seed. To start a new project managed by npm, create a new directory (e.g., angular-seed) and open it in the co... (more)

Angular and TypeScript | @ThingsExpo @YFain #IoT #Angular #TypeScript

Angular, TypeScript, SystemJS, and Browser Cache I was writing a small app in Angular 2 in TypeScript with the on-the-fly transpiling by SystemJS. I needed to implement a router that would switch between the Home and ProductDetail views in a single page app. The root component had two links and was supposed to render either Home or ProductDetail components depending on which link the user clicks. Angular 2 offers a pretty elegant syntax for this: Configure the router to map the component to a URL, and use property binding in the form of [router-link]. Nice and easy, isn't it? Th... (more)

Taking a Sun Java Studio Creator for a Drive

If you do not really enjoy the process of creation of Web applications with JavaServer Pages, try Sun Java Studio Creator (JSC), which at the time of this writing is available as an Early Access release. There are several general reviews of this product on the Internet, but I'll show you how in less than an hour you can create a Web application with a logon page that performs database user authentication, and displays the main application page for a valid user. If this does not impress you, I can add that I had to write not more than 20 lines of code for this application - the re... (more)

Java Basics: Lesson 11, Java Packages and Imports (Live Video Education)

Watch Yakov Fain Delivering This Class Live Java comes with thousands of classes that are organized in packages (similar to files and directories on you disk). Some packages include classes responsible for drawing, while other have classes for the Internet access, and so on. For example the class String is located in the package called java.lang, and the fully qualified name of this class is java.lang.String. The Java compiler only knows where to find classes that are located in the package java.lang, but there are many other packages with useful classes, and it's your responsibil... (more)

Another Brick in the Wall

Do you feel that being a Java guru sets you apart and makes you indispensable in your company? Or are you an entry-level person scared of being laid off given all these outsourcing trends? What are your career choices in the corporate world? Put on your headphones, turn on Pink Floyd's album The Wall, and let's talk... Programmers earn their living by working either as employees or as temporary contractors. Often, people use the term consultant when they're referring to the employment status of a person, but this is just not right, because the word consultant means a subject exp... (more)