-
As a mid-life greabeard that started my career on Z/OS / MVS writing JCL and running COBOL and SAS jobs, I like JavaScript. It doesn't have the obtuseness of C, the ultra-strict type-checking of Pascal, the verbosity of COBOL, class chaos of Java, the mind-bending notation of PostScript, nor the escapee from the loony bin mentality of SQL
Read More -
Thinking in Angular 4: Templates
Jul 28, 2018 · 2 min read ·
To understand Angular 4, after the “Hero” tutorial you should start from the Template syntax.
We highlighted some statement in red below:
Data direction Syntax Type One-way from data source to view target \{\{expression\}\} [target]="expression" bind-target="expression" Interpolation Property Attribute Class Style One-way from view target to data source (target)="statement" on-target="statement" Event Two-way [(target)]="expression" bindon-target="expression" Two-way Binding types other than interpolation have a target name to the left of the equal sign, either surrounded by punctuation (
[],()) or preceded by a prefix (bind-,on-,bindon-).The target name is the name of a property. It may look like the name of an attribute but it never is. To appreciate the difference, you must develop a new way to think about template HTML.
Read More -
OOP is the your new legacy
Dec 19, 2016 · 2 min read ·
Today I took a light rail with my son, to bring him to school. That tram is 90 years old. It has been maintained for 90 years. Milan city sold some of them to San Francisco too.
Read More -
Finding the good one: mithril
Feb 21, 2016 · 2 min read ·
I have just read this insightful statement on this blog article about congitive load in Javascript
jQuery is undoubtedly useful when dealing with browser quirks, but once an application grows over a few thousand lines of code, unstructured jQuery code simply becomes too difficult to maintain, and you start needing the discipline of a framework to organize code. But when you're at tens of thousands of lines of code, you start to run out of entity types to CRUD, and your application growth starts to build on top of existing concepts. This is when you need the mental shift from being a library consumer to being a reusable component author,
This clever guy is the creator of Mithril, a very small, well crafted javascript library a friend of mine pointed to (via github…):
Read More -
Tool Command Language: il papa’ di Java
Dec 21, 2012 · 5 min read ·In particolatre Tcl 8.6 introduce un motore “stackless”, integra nel linguaggio le estensioni OOP, ed aggiunge le coroutine.
Parliamo quindi diffusamente di Tcl, un linuaggio che ho sempre trascurato perché mi sembrava macchinoso e un po’ brutto/fatto male…ma mi sono dovuto ricredere.
Read More -
And so Java, the old old King is still alive.
After Scala, Clojure, NodeJS, and Dart, a new hero is knocking to its castle: Eclipse Xtend
Will he succeed? Hard to Say, but Xtend is very similar to CoffeScript: Xtend simplifies writing Java code, but it doesn’t aim take the grab the crown with a night ambush to the King’s IDE.
Read More -
Dart Sith move first
Oct 13, 2011 · 3 min read ·
So Dart Sith has just launched his first DeathStar, my young JavaScript fellow: a site devoted to the Dart language
Because I am a very old Jedi (1974, before ever the first WtartWars trilogy showdown) I had to rest a bit before talking about it, so the news is 4-days old I know. I needed to think, reflect and write down: but now I am ready, Read on…
Read More -
Org Mode parser for nodejs is here, right now!
Oct 4, 2011 · 1 min read ·If you love Emacs Org Mode, and you are looking for a JavaScript parser for it, you are in the right place!
I have just published an org-mode parser for Node.js, the Javascript based server a lot of guys talk about.
This first revision spot more then 20 non-regression tests, and it is ready for a prime time use. Anyway, production use is still discouraged because additional testing is needed. Feel free to email me or to leave a comment.
Read More -
And so you like JavaScript Html5 Web app, which can run on Safari iPhone, Nokia Windows Phone, Android web browser, Black Berry and so on? Are you on the mantra of multi platform mobile programming, aren’t you? Well, Google mega corporation will soon awake you in a new nightmare: a new programming language!
Read More -
Be strong young Jedi. This war will begin shortly. You can try to keep you jdk under your pillow, but the html5 will hit you in the middle of the night. And a knife in the dark will rise from shadow: JavaScript
Read More -
jQuery 1.6 is now live and available for consumption! We’re quite proud of this release, it includes a major rewrite of the Attribute module and a number of performance improvements.
Please take this opportunity to thank members of the jQuery Team and the jQuery bug triage team for their help in getting this release out the door.
Read More -
How to display an animation during page loading
Jan 12, 2011 · 1 min read ·
Old web site requires sometimes to show a big “Loading…” gif in the front of the page. It is not trivial to do it, especially if you have already plenty of jQuery forms developed, with complex form submission, and half the site in an ajax form.
Read More -
With typeface.js you can embed custom fonts in your web pages so you don’t have to render text to images.
via typeface.js – Rendering text with Javascript, , and VML.
With jsmath, this is another example of the power of CSS3 and Javascript.
Is the Web the true FUTURE of the desktop GUI?
Read More -
Cappuccino è un progetto interessante, anche se molto particolare.
Cappuccino is an open source framework that makes it easy to build desktop-caliber applications that run in a web browser. Cappuccino is built on top of standard web technologies like JavaScript, and it implements most of the familiar APIs from GNUstep and Apple's Cocoa frameworks.
With Cappuccino, you don't need to know HTML. You'll never write a line of CSS. You don't ever have interact with DOM. We only ask developers to learn one technology, Objective-J, and one set of APIs. Plus, these technologies are implementations of well known and well understood existing ones. Developers can leverage decades of collective experience to really accelerate the pace of building rich web applications.
Tra i bonus di Cappuccino c'è la possibilità di programmarlo come se si stesse programmando in Objective-C ed in particolare in Cocoa. Può rappresentare un ottimo investimento se avete un background in XCode. L'interfaccia e le librerie constano in circa 10MB di codice compresso: non esattamente una passeggiata.Una delle applicazioni più complicate è http://280slides.com/ che però a tempi di caricamento abbastanza alti.
Read More