25th May, 2010

Flex/Swiz workshop

Flugr organiseert in samenwerking met QNH op 2 juni a.s. een Flex workshop.

Tijdens deze workshop bouwen we een Flex applicatie met behulp van het Swiz framework (http://swizframework.org/) op basis van het MVCS pattern. Swiz is een microarchitectuur en dependency injection framework voor Flex. Anders dan Gairngorm of PureMVC dwingt Swiz geen specifieke architectuur af. Dit maakt Swiz enorm veelzijdig waardoor Swiz in een groot aantal applicaties en scenario’s ingezet kan worden: van eenvoudige tot complexe applicaties. De voordelen van het Swiz framework in combinatie met het MVCS pattern maakt dit de applicatie beter test- en onderhoudbaar.

De applicatie welke we gaan bouwen biedt functionaliteit voor het beheren van contactpersonen en taken. De applicatie communiceert met behulp van BlazeDs en een XML/HTTP interface met een Java backend. We laten zien hoe je met behulp van het Swiz framework de applicatie eenvoudig kan testen met behulp van mock services. Ook laten we het Swiz event mechanisme zien.

Being a long time Spring minded developer, I thought it was time to dust off my JEE knowledge. This was harder than I thought. Mostly due to the lack of complete tutorials to get me going quickly.
So I set myself 2 goals:

  • Build a basic JEE application
  • Blog my findings so others can use this.

Building a basic JEE Application
First I started to think what I wanted to use (tooling). I am a big fan of Maven and OSS, and this is my tooling list:

Next an Idea for a JEE application. I decided not to use JPA, since most developers know how to use this and I wanted to focus upon delivering a maven ready JEE application. With this in mind I decided to create 1 EJB, 1 servlet and 1 web service. Put this in an ear and deploy this on GlassFish.

So I set out to search the web for maven examples. After some time I found an usable example and tweaked this to reduce unnecessary code.

Google hurried to bring the news: Google will come with it’s own OS. Why now? Because a few days later Microsoft brought similar news.

“Google is starting to respond to questions about the just announced Chrome operating system. In a short FAQ today they talked about cost and initial partners.First of all, the software will be free, which was an easy assumption to make since it will be open source. Like Android, Google will not charge users or device manufacturers to use the Chrome OS.

“July 7th Google said they were already working with device manufacturers to roll out Chrome OS devices late next year. July 8th they announced at least some of those partners: Acer, Adobe, ASUS, Freescale, Hewlett-Packard, Lenovo, Qualcomm, Texas Instruments.”
The choice for many laptop manufacturers is a logical one. Google has to have some platforms who are willing to deliver their products with Chrome OS. The choice for Adobe is also a logical one since Flex is competing with Silverlight.

Meanwhile Microsoft just made its first cloud OS, dubbed Azure, officially official. The system allows developers and hobbyist alike to collaborate together on a flexible and interoperable application platform. Applications created within can run from the cloud or even enhance non-cloud based applications with the hive-like features.

“Azure reduces the need for up-front technology purchases, and it enables developers to quickly and easily create applications running in the cloud by using their existing skills with the Microsoft Visual Studio development environment and the Microsoft .NET Framework.The entire service is an open platform that supports not only the Microsoft Visual Studio and .Net Framework, but also Eclipse, Ruby, PHP, and Python. The service isn’t up and running just yet, but curious geeks can register to be part of the Community Technology Preview.”

I think it is a good thing that besides Linux another OS will try to gain some part of the market but isn’t XP just a hit cause everyone is used to it?That’s not to say a Google OS for Netbooks wouldn’t have certain advantages. The combination of Gmail, Google Docs, and the Chrome Web browser makes for a compelling case that Google will be able to build a very usable front-end for consumers. But, by the time the first Chrome OS Netbooks are available–the second half of 2010–Microsoft’s Netbook-friendly Windows 7 will have already had about a year to maintain its iron grip on the Netbook market.

The Move To The BrowserMost certainly a direct response to Google Apps, Microsoft is rolling out lightweight, FREE, Web browser versions of Word, PowerPoint, Excel and OneNote. All based in the cloud, the web-based versions of these products have fewer features than their desktop cousins but still give users basic tools to edit and change documents.

Sounds promissing but then Microsoft makes this strange move : Microsoft has also updated the desktop version to have collaborative features so that multiple users can be editing a document at once. This collaboration is not available in the web version, unfortunately. Microsoft says that users don’t want this feature but this might be a move to protect the Office revenue model.

With the release of the beta of Flex 4 one can download 2 more things besides the SDK.The new coming “killer”-app of Adobe called Flash Catalyst but also the Flexbuilder for Flex 4.However, after starting up the new Flexbuilder the first thing that confuses you is the name, it is now called Flash Builder. With Flash Catalyst Adobe want to promote the Flash platform. Will Flex dissapear? No, it is the name of the framework.Seems Adobe can not decide which people they want to reach and how. Designers vs developers.Though Flash Catalyst is still early beta lot’s of people allready have an opinion about it.As Flexbuilder was too complex for some designers, this will be the same with Catalyst for developers. Unfortunally there is not yet any good tutorial regarding Catalyst so it is trial and error.I like the idea, I am defenitly not a designer, but I can’t allready test if this will work.So, as soon as I had the time to take some real tests I will also give my opnion :)  

Just updated my ubuntu installation from 8.1 to 9.04 and i have to say Respect! to the ubuntu team. The online upgrade was a breeze, and my system was up and running after 1 hour. Because the hardware i am using (Macbook Pro) I suspected some trouble but there was none. Nice new login, a faster X and my audio problems (pulse related) were fixed all of a sudden.
I did not upgrade my ext3 to ext4 but will be doing so shortly. Cheers!

PaaS
Vorig jaar begon er een trend zichtbaar te worden bij Adobe Systems dat onderdelen van het pakket Premiere ook gratis online ter beschikking waren.
“Adobe Premiere Express is een gratis, webgebaseerd videotool. Dat wil zeggen, u hebt geen software nodig om uw filmpjes aan elkaar te plakken, dat doet u gewoon op de plek waar u ze uploadt.”. Vooralsnog werkt het met name met YouTube en MTV maar dit wordt snel uitgebreid.
photoshop expressAdobe Premiere express
Begin dit jaar kwam daar het tweede Product as a Service bij, namelijk Photoshop express, de deels gratis online versie van zijn populaire fotobewerkingsprogramma. Ook presenteerde het bedrijf een versie van Photoshop.com voor de mobiele telefoon.

SaaS
Met de komst van LiveCycle Enterprise Suite brengt Adobe zoals ze zelf omschrijven : “an integrated server solution that blends data capture, information assurance, document output, process management, and content services.” De suite bestaat uit momenteel uit 14 modules die samen die enterprise suite zijn. Helaas hangt er voor het MKB een stevig prijskaartje aan LiveCycle zodra men werkt met meer dan 1 cpu.
In juli werd LiveCycle Enterprise Suite verder uitgebreid. De implementatie van bedrijfsapplicaties werd makkelijker door Content Services, een samenwerking tussen Adobe en Alfresco Software, een open source alternatief voor content management. Verwachting en hoop is dat al deze componenten binnenkort als Saas worden aangeboden of in de Cloud want het installeren van Livecycle is nog veel werk.
Adobe’s formele SaaS producten zijn Buzzword (online tekstverwerken en delen. Mooi maar te traag) en Adobe Share en Adobe ConnectNow (online meetings with chat, webcam etc)

Cloud
Onlangs lanceerde Cocomo,een online platform voor ‘cloudcomputing’. Ontwikkelaars kunnen ermee extra toepassingen toevoegen aan hun webapplicaties.
Het is bijvoorbeeld mogelijk live audio- of video en tekstchats in bestaande applicaties te integreren. Ook is het mogelijk met Cocomo nieuwe applicaties te bouwen, zoals online spellen met meerdere spelers.
Cocomo is nu nog gratis en het is de vraag of dit zo blijft.
Tevens is Cocomo alsnog alleen inzetbaar als componenten in Flex maar de beweging is duidelijk.

2nd Dec, 2008

Max Milaan 2e dag

De dag begon met een verkeerde sessie. Sessie’s staan toch vooral met de spreker en deze Italiaanse meneer had na een kwartier “eh eh..” nog steeds een wit scherm van wat het begin van zijn presentatie moest zijn.
Op naar een expert die verstand heeft van netwerkconnecties want ik kom maar niet op het internet.
Gelukkig was deze wizard snel gevonden maar zonder succes. Iemand van de technische dienst van Adobe werd erbij gehaald. Ook geen succes. (Er lopen hier overigens 250 man rond om alles te faciliteren op het gebied van electronica). Dus kreeg ik een eigen kabel in een verborgen hoekje en had waarschijnlijk het snelste internet van Ialië. Op google stond de oplossing wel en dus nu weer vrolijk online verder in de lounge. Niet lang waarschijnlijk want internet doet het hier gemiddeld 5 minuten per 3 uur.

Na de eerste sessie was er de 2e general note van Adobe waarbij zij op een leuke manier, man in black, alle producten van Adobe voorbij lieten komen. CS4 loopt nog verder in elkaar door dan CS3 maar ze hebben er wel een handje van om design en development juist steeds weer van elkaar te scheiden. Zo gaat ook in Flex 4 het design eigenlijk naar Catalyst en heb je als developer juist meer kennis van design nodig om iets te maken (of je huurt een designer in als dat een optie is). Hoe dan ook, de discussie hierover laait hoog op.

Waren er gisteren dus 3 duidelijke lijnen, deze waren vandaag moeilijker te vinden. Juist over het developmentgedeelte walste men heen als ware het niet verstandig het te tonen.
Vanavond is de sneak and peak en misschien dat ze het daar wel aandurven.
Na de (inmiddels standaard) pastalunch een labsessie over dreamweaver cs4 gevolgd. Pakket wordt gelukkig elke keer weer beter en de meeste features die ik miste zitten er nu wel in, inclusief een fixe uitbreiding van Spry.
Air bootcamp 1 en 2 waren goede sessies heb ik begrepen :)

General session adobe max 2008 Milano

Om mezelf toch weer eens te overtuigen ben ik naar de sessie Flextesting geweest van Steve McConnel en eerlijk is eerlijk. Na deze presentatie had ik zelfs zin om te gaan testen (al zakt dat gevoel wel weer).
Met bezieling en passie ging Steve in een rotgang door alle 1000 redenen heen waarom developement en test altijd paralel moeten lopen.

Per jaar gaat er $ 80 miljard op aan het oplossen van bugs. De helft komt bij de consument terecht en de andere helft bij de developer.
Wat nog erger is, is dat een programmeur 80% van zijn werktijd doorbrengt met bugfixing.

Een requirementbug oplossen na oplevering kost 10 tot 100 keer zoveel dan wanneer de bug tijdens developement was ontdekt.
Een fout in de architectuur kost 25 tot 100 keer zoveel.

1st Dec, 2008

Flash Catalyst

Voorheen codenaam Thermo is bedoeld om de designer en de developer dichter bij elkaar te brengen en dat lijkt er ook op (al zijn er geruchten dat het nog lang geen stabiel platform is)

Photoshop/Flash –> Flash Catalyst –> Flexbuilder 4

In deze lijn moet het gezien worden. De designer maakt een psd en zet deze over naar een Fc-project. De lagen e.d. blijven behouden en in Fc kan de designer aangeven welke laag waarvoor bedoeld is en deze de standaardfunctionaliteit er aan koppelen (bv een button).
Als de designer klaar is wordt het weggeschreven als FXP-project welke kan worden ingelezen door Flexbuilder 4. De developer kan nu de bussinesslogica achter het geheel maken. Het resultaat is een tot op de pixel nauwkeurig design dat is omgezet naar “the next generation of user interfaces”.

Dit wil nog niet met Flexbuilder 3 omdat deze nog teveel ingebakken presentatievormen heeft.  In de volgende generatie komt dus de presentatie los van de controller. Met de toevoeging van de FXG zijn er veel meer grafische mogelijkheden. (fxg: a graphics file format based on mxml)

Ben benieuwd naar de uiteindelijke oplevering van Catalyst…

Tijdens een sessie over Adobe Analytics kwamen ook de 10 voordelen van Flex 4 aan de orde :

1. package explorer gelijk aan java
2. file ttemplates in help – preferences, die kan je aanvullen met diverse data (mxml, as etc)
3. refactoring pakt nu ook de move op
4. hoover over mxml shows more info (tooltip)
5. getters and setters aanmaken including event
6. debugging -> run to line
7. debugging -> stop if break has the correct value
8. networkmonitor

tsja, ik moet toegeven dat ik ook niet verder kom dan 8
Hoe dan ook, het ziet er wel allemaal als een verbetering uit en de release wordt verwacht in juli 2009.

1st Dec, 2008

Adobe MAX 2008 Milaan

adobe max

1 december 2008 om 8 uur was ik er voor de registratie, maar een uur te vroeg omdat de wekker verkeerd stond. Het weer in het zuiden van Europa is vertrouwd. Het water valt met bakken uit de hemel en het is best koud, 6 graden.
Vandaag verwacht men 1300 man die het nieuwste van het nieuwste van Adobe willen zien. Voor mij persoonlijk geldt dat ik geïnteresseerd ben in de development tracks maar dat zijn de meeste dit jaar dus de keuze gaat nog moeilijk worden.

Keynote

Gelukkig was er in de keynote niet te veel nieuws onder de zon voor mij anders zou ik niet goed hebben opgelet de laatste maanden.
Wel nu enkele demo’s wat de nieuwe tools kunnen en waarvoor ze bedoeld zijn. En de officiële naam van Thermo is nu Flash Catalyst.

Het programma dat designer en developer dichter bij elkaar moet gaan brengen.

Adobe heeft 3 main targets :
- client cloud computing (waarbij men duidelijk AIR promoot)
- social computing
- one screen project (devices/desktop)

27th Nov, 2008

Wowww at NN open


Meedenken in de informatie voorziening van Nederland en Noord-Nederland in het bijzonder. Folkert en Herman staan hier om informatie te geven over de wijze waarop Wowww u kunt helpen bij uw ICT oplossingen veelal gebaseerd op opensource produkten.

Posted by ShoZu

21st Nov, 2008

Postcodevalidatie in Flex

Al vaker zie ik dat mensen zoeken naar een Nederlandse postcodevalidatie in Flex. Daar deze ongetwijfeld ook niet in Flex 4 ZipcodeValidator zal zitten heb ik deze maar zelf snel geschreven.
Rechtermuisklik op het voorbeeld voor de source !!

Eind

12th Nov, 2008

Cool new API’s


In short.

Scenegraph (scenegraph.dev.java.net)
Date and time API
Java media components
Fork/join framework (jsr 166y)

The API’s are not my idear of cool new stuff, but they can be very usefull in your core programming when using media or basic java.

Posted by ShoZu

12th Nov, 2008

JavaFX using media


Having seen the basics, using media is the next step in my JavaFX education. Animation is the key subject. Timeline, duration, keyframes and transitions will give you a simple way to build cool applications.

Posted by ShoZu

12th Nov, 2008

Technological muse?


It is not all “boring” nerdie talks. Some guys take the oppertunity to show off their musical talents.

Posted by ShoZu

12th Nov, 2008

Give me some ice(cream)


Most essential stand at J-fall, the icecream stand. You have to have some sort of cooling to counter all that hot new stuff you pour into your mind.

Posted by ShoZu

12th Nov, 2008

Javafx – a preview


Fast overview of the javafx language.
Databinding is supported through binding variables and functions. This makes it possible to bind fx properties to backend java classes in a easy manner.
Another cool item is triggers. These operate like an onchange event.
Programming in fx has been made more declerative instead of programming in a swinglike language. Using and creating shapes took up a big part of the talk and for a good reason. You can manipulate them in al thinkable manner which seem easier to do than in Flex.
More info about the fx stage and effects can ben found in the scenegraph api. This is opensource.
It seems to me that fx has matured alot since its introduction. Iam looking forward to this to the test at home.

Kind regards
Marc de kwant

Posted by ShoZu

12th Nov, 2008

Relax at J-fall


Posted by ShoZu

12th Nov, 2008

J-fall Flugr stand


Meet the people behind the Flex user group at J-Fall

Posted by ShoZu

12th Nov, 2008

J-fall 2008

Today I am on my way to the yearly j-fall seminar.
2 main tracks. One is javafx and the other is flex.
This time I will attend all javafx talks and hope to gain more insight in the usability of this technology.

Kind regards

Marc

Posted by ShoZu

I visited a small seminar on wednesday 8 october. One of the subject was Grails. Since I have not worked with Grails before (only with Rails) I was curious to find out what it could and could not do.
At the moment of writing the latest version of Grails is 1.0.3 and according to the presentor it is production ready. The presentation began with the usual CRUD application example. As in Rails this was quickly generated through some commands on the commandline and within 1 minute a running CRUD application was presented. Next he demonstrated a scraping of a website and storing this in the database. This information was then used to generate a RSS feed of this scraped information. The final demonstration was not show, but should have been a demonstration of Google(TM) Maps integration.
All these examples were done with minimal coding (no more than half a page) and minimal effort.

As I viewed this presentation I came to some conclusions about Grails. One of my conclusions is that this technology is very suitable for the quick development of CRUD based backend applications. There you will get the most out of this technology. Another conclusion I had was that with some more effort you can setup nice front end applications with this. But there will be alot of customization needed, what decreases the benefits you have over other frameworks. Another conclusion I had was that although this technology is java based, the syntax is very different and not easy to maintain. Refactoring is very difficult and required you to use Intellij to get some basic support. This vendor lock is in my opinion not desired. Also this is yet another layer on my stack which is not absolutely nessesary to get the job done. Extra layers and extra technologies introduce a potential to extra bugs and performance loss.

My final thought: A nice technology, usable for quick backend development but needs to mature a bit in several area’s and integrate more with existing tooling.

Regards.

Marc de Kwant

wowww.nl

resources: Grails

Voor de 3e keer organiseerde Wowww! Een open water sessie waar een ieder die geïnteresseerd was kosteloos aan deel kon nemen.
Na Spring en Flex was het nu de beurt voor “Onder de rokken van XSLT.

Gastspreker was Erik Siegel. Erik is freelancer en werkzaam voor uitgevers en heeft daardoor veel te maken met omzettingen van xml naar andere formaten, voornamelijk ander xml en andere formaten zoals bijvoorbeeld html. Daarnaast geeft Erik training bij Computrain.

Naast de presentatie was het vooral hands-on en hebben we oefeningen gedaan met de basisfunctionaliteit van XSLT, eXtensible StylesheetLanguageTransformation(s).

2nd Oct, 2008

Webwinkel Open Source

Voor Plan nederland heeft Wowww! eind september een webwinkel gerealiseerd. Doelstelling van Plan Nederland is om met de webwinkel een structurele aanvulling te creëren voor het doneren van gelden. Bovendien kan Plan Nederland via de webwinkel direct op een duidelijke wijze communiceren wat er met de donatie voor een specifiek artikel wordt gedaan. Deze webwinkel is ontwikkeld op basis van Magento.

Magento is een zeer complete e-commerce applicatie, gebaseerd op Open Source technologieën. Magento is flexibel en schaalbaar. Dit blijkt onder meer door de vele mogelijkheden van het opdelen en beheren van meerdere webwinkels (met meerdere unieke views) onder één of meerdere websites, het onderbrengen en afzonderlijk stylen van produkt-categorieën en het toekennen van userroles en rechten. Daarnaast kunnen aanpassingen op de source-code eenvoudig apart worden gehouden van de basis source-code. Dit heeft als voordeel dat upgrades van Magento doorgevoerd kunnen worden zonder de eigen aanpassingen te overschrijven.

Magento heeft tevens een eigen API-bibliotheek en mogelijkheden om extra functionaliteit (ontwikkeld door de community of vendors) als modules aan te koppelen.
De beheerder van de webwinkel heeft tevens een uitgebreid dashboard tot zijn beschikking waarin onder meer artikelen, bestellingen en facturatie beheerd worden en de verkopen (grafisch) worden weergegeven.

Categories