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

This year I’m planning to run a one-day workshop at a couple of software development conferences and privately for IT shops. The goal is to introduce JavaScript and related technologies to developers who are accustomed to developing in classical object-oriented languages like Java, C++ or C#. Below is the outline of this workshop. Part 1. JavaScript Building blocks Functions, Objects, Prototypal Inheritance,Closures Using Chrome Developer Tools JavaScript in the Web Browser, DOM, CSS. New JavaScript: an overview of selected ECMAScript 6 features. Part 2. Designing Single-Page Web Applications Web app prototyping. Designing a Product page of an online auction using Pure JavaScript and CSS. Responsive Web Design. CSS Media Queries. Redesigning the Product page for smart phones and tablets by adding CSS Media Queries. Our Product page will look like this. Single-Page Ap... (more)

You Should Start Developing With Google Dart By @YFain | @CloudExpo [#Cloud]

Why You Should Start Developing With Google Dart In the summer of 2013 I wrote a blog “How Serious is Google About Dart“. It’s January of 2015, and I’d like to give you an update from the trenches. Our team has developed and deployed in prod a beta version of the application that helps consumers with finding and rating insurance agents and getting quotes online. The front end of EasyInsure is written in Dart language. Before introducing the Dart ecosystem, I’d like to give you a little background about our prior experience in developing Web applications (I work for Farata Syste... (more)

Pushing Data to Multiple WebSocket Clients From a Java Server By @YFain | @ThingsExpo [#IoT]

Pushing Data to Multiple WebSocket Clients From a Java Server Finished writing the WebSocket chapter for the second edition of my Java 24 Hour Trainer. In this blog I’ll show you one of the code samples from lesson 28. Pretty often you need to write a program that publishes the same message to all connected clients. For example, multiple clients of the online auctions have to be notified when a new bid is placed on the product. Another example is when a new stock price quote need to be pushed from the server to all connected clients. With websockets it’s a pretty easy task. I’ll... (more)

The Future of the Web: I Disagree

Tim Bray, a Distinguished Engineer and Director of Web Technologies at Sun Microsystems has been interviewed by InfoQ about the future of the Web. With all my respect to Sun’s engineers, I have to disagree with some of the statements Mr. Bray made. He said, "Anything that discards the Back button is a step backward". I strongly disagree that people who are used to the page-based Web apps can’t/won't learn how to live without it. But even if it is the case, you can create RIA that support Back button - just decide what application view (no page) to show when the user hits the Back b... (more)

JavaFX Event Handling and Property Binding

Some time ago I blogged that Java Swing should be deprecated and replaced with JavaFX. In this blog I’ll show a piece of JavaFX namely event handlers and binding. I’ve created a simple Sign In window with a GridPane layout (it’s JavaFX equivalent of Swing’s GridBagLayout). I’m not going to spend much time on the GridPane itself, but will show you a basic event handling and a binding. In JavaFX an event object is represented by the instance of the class javafx.event.Event. There are different ways of handling events. Depending on how you structured your application you can handle... (more)