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
developing in classical object-oriented languages like Java, C++ or C#. Below
is the outline of this workshop.
Functions, Objects, Prototypal Inheritance,Closures Using Chrome Developer
selected ECMAScript 6 features.
Part 2. Designing Single-Page Web Applications
Web app prototyping. Designing a Product page of an online auction using Pure
Product page for smart phones and tablets by adding CSS Media Queries. Our
Product page will look like this. Single-Page Ap... (more)
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
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.
This morning I got the following email from a Java developer: “It seems you
are doing less Java and more web development every year.” This got me
thinking, and I decided to write this blog.
Am I still a Java developer after 17 years of using this language? I
certainly am. But in today’s world using just one programming language is
almost impossible unless you’re willing to limit yourself to the
server-side development. I’m not saying this is bad – it’s a huge field
for never ending self-education and research. Even from the career
perspective becoming an expert in a specific Jav... (more)
Introducing AngularJS to Java Developers
they make you more productive will deal with cross-browser compatibility and
make the application more structured may include reusable components lower
the amount of manually written code.
expect you to programs using well defined rules... (more)
Finished writing the JavaFX chapters for the second edition of my Java 24
Hour Trainer. It included a sample code of the Tic-Tac-Toe game. The front
end is done in FXML and the application logic is written in Java.
Using FXML allows to substantially minimize the amount of Java code. This
program consists of the following four files:
Tic-Tac-Toe.fxml: 45 lines
Main.java: 27 lines
TicTacToeContoller.java: 120 lines
application.css: 12 lines.
I haven’t implemented a couple of menus, which would add a couple of dozens
lines to the code base. Pretty concise, isn’t it? The source code of ... (more)