Cover photo
Jorge Raimundo
Works at Multivision
Attended Universidade Católica
Lives in Alverca do Ribatejo (Portugal)
194 followers|43,642 views


Jorge Raimundo

Shared publicly  - 
2014... ou uma parte dele...
 ·  Translate
Maria do Céu Santos Pedro's profile photoCristina AR's profile photo
Estou mesmo a ver! Deve ser festa todos os dias! Bjs e Bom Ano para a vossa família.
 ·  Translate
Add a comment...

Jorge Raimundo

Shared publicly  - 
Add a comment...

Jorge Raimundo

Shared publicly  - 
Não se pode confiar cegamente nos media, e pergunto se se pode confiar de todo.
 ·  Translate
Reuters, ABC e outros media ditos de "referência" mentem descaradamente aos seus utentes sobre a realidade síria na tentativa de a transformar noutra Líbia. Veja aqui.Um verdadeiro escândalo.
Add a comment...

Jorge Raimundo

Shared publicly  - 
É um rapaz! :D
 ·  Translate
Tiago Costa's profile photoJorge Raimundo's profile photoMaria do Céu Santos Pedro's profile photo
É um rapaz e chama-se José! ;)
 ·  Translate
Add a comment...

Jorge Raimundo

Shared publicly  - 
Great text...
João Saleiro originally shared:
After 6 years doing Flex, am I moving to HTML5?

Short answer: no. But I'm investing in HTML5.
(really) Long answer: see below.

After coming back from the Flex Summit, many people have contacted me asking what was going to happen with Flex and if I was going to "migrate" our projects (like ) and services to HTML5. After plenty of exchanged emails and dozens of long talks, I decided to write down and share some notes of my first steps in the HTML5 world regarding the development of Enterprise RIAs (or not). These notes are not organized, they have typos, and, as I said above - they are only my first steps so more experienced people might (and will) prove me wrong in some topics.


I founded Webfuel in 2004 and since then we've specialized in building long-term (> 6 months) enterprise-grade RIAs that had to scale well and be prepared for constantly changing requirements with a low cost in maintainability, while simultaneously providing a top-notch user experience. We've managed to offer our services comfortably with a very limited number resources and small development teams (3-5 persons per project), much thanks to the way we leveraged existing knowledge on Software Engineering and applied it to our platform of choice - Adobe Flex (now fortunately called Apache Flex).
Our decision was purely technical and we have never regret our choice, until it got badly affected by the bad PR around the Flash platform.

Worse PR ever in November 2011

The Flash platform was already in bad shape, much thanks to one year of chaotic PR and there were already some inconsistent signs from Adobe. While disappointed, I was not very surprised when all hell broke loose in November 2011 with Adobe destroying the very last credibility that Flash still had, directly affecting Flex, our businesses and careers. Long story short, Adobe wasn't able to monetize the Flash Platform and the top managers who don't really care or understand it's power simply decided to put the money where their mouth was: HTML5. I happen to strongly agree with the move on investing in HTML5, but they could and should have done it without destroying (the perception of) Flash. Especially because in the meanwhile it had turned into the platform of choice for Enterprise Development.

In December '11 Adobe has donated Flex to Apache. While this might end up in being the best thing that could happen to Flex, the initial reaction from the Enterprise was that Adobe was getting rid of Flex. Like someone said during the Flex Summit - "it seems to me that Adobe has built the best platform for enterprise-grade application by accident". Adobe understands design; creativity; marketing; publishing; Adobe doesn't seem to understand Enterprise. Example #1: Zero Support = the biggest complaint about Adobe I heard for years on the Enterprise. Example #2: the pricing of LCDS.

Did Adobe killed Flex? No! A technology doesn't have an heart attack and drops dead on the floor. Flex is still alive and the reasons why we chose it are still perfectly valid. Flex didn't got worse suddenly - it's still the same robust platform for enterprise RIA development.
What Adobe destroyed was perception of the Flash Platform. And the perception is what matters on business. You can have the best product of the world, but if people believe it's bad they won't buy it (and they'll even be happy on telling everyone how much your product - that they never used - sucks). But if they think it's good - even if it actually sucks - they'll probably buy it (and complain later). Perception. That's what sells. Perception.

Will the perception around Apache Flex ( ) improve? Most likely, yes. In 9 days, there were more than 1.4 thousand emails exchanged on the Flex Mailing List ( ) ! It's pretty impressive the number of people that are now involved in pushing Flex forward and this number will most likely keep raising. But Apache Flex still relies (or, at least for now) on the Flash Platform and I'm not seeing the bad perception on the Flash Player changing in a near future. Of course there's still AIR, but what concerns me are browser applications

We are desktop-developers-working-on-the-web

An important side note, is that I see Webfuel as a team of desktop developers working on the web. In another words, we use desktop development paradigms, best-practices and design patterns borrowed from the JAVA world and we've applied them to build applications that happen to run inside the browser. Our work consists normally in building at least two loosely coupled applications, connected by an RPC API: a client application (running inside the web-browser) and a server application that only exposes services and is not aware of the client application.

Most Flex developers out there think on themselves as web-developers, but in most cases the mindset of a Flex developer is closer to a desktop developer than to a web developer. IMHO, this is the most single-most-important reason on why we, Flex developers, dislike so much the "normal" web development approaches.
We work with "views", web developers work with "documents". We do old-school MVC, DI, loosely coupled approaches, dependency management, RPC, code coverage, continuous integration [...], and when we're forced to do web-development these are the first concepts that we try to investigate and replicate... before we get frustrated and enter in "denial".
To be good at typical web-development, we have to change our mindset.

Is "HTML5" ready?

According to Twitter, online magazines, blogs, Apple, Microsoft and even Adobe, HTML5 is the silver-bullet for everything. In can be used to build websites, webapps, games, software, mobile applications, doing laundry and cooking. The focus is all on HTML5 right now. Is it the right moment to use it?

From the point of view of a web-developer - of course it is!!! For a typical web-developer, HTML5 means more tools, more power and much better cross-browser compatibility than what they had before. If you're working on the web, HTML5 and the storm of JS frameworks is simply the best thing that has happened to the web since.... humm... Flash. :o) Bottom line, HTML5 is for sure a giant step forward.

From the point of view of desktop-developer-working-on-the-web - hell no! WTF? We work on the enterprise and enterprise means stability. We can't afford to have too many moving pieces all the time. We can't afford to deal with un-structured languages. If you've used Flash or Flex for the last 5 years, you'll feel that in HTML5 there's nothing new or better than what you already have. Worse, you'll feel that there still are hundreds of needed capabilities and tools missing. Exception to the rule, happens if you're targeting the browser of Mobile devices, where HTML5 is king.
It's quite understandable that a Flex developer feels frustrated. You feel you're going backwards 4 or 5 years. It happens that, as Ted Patrick stated ( ) , we were living in the future...

Ignore the shit storm. Ignore fanboys. Choose the right tools. Ask the right questions to the right developers

People like to take sides. If I like and use something, for sure it's because it's the best thing ever, and all the rest sucks or is dead. That's how it works for most fanboys.
Newsflash: if 10.000 persons say that something sucks, it doesn't really mean that it really sucks. It means that they believe it sucks. Like they believe in a religion. The irony is that developers should be pragmatic people, but we often see them becoming fanatic about their technology choices. "Infidel, infidel", they yell with their pitchforks in the air when you say the name of a "competitor" technology. WTF?

For me, technologies are just tools. Obviously I would like to have as many good tools as possible so I can be able to choose the right one for each task. Be it Flex, HTML5, Javascript, Actionscript, JAVA, PHP, whatever.

Bottom line: ignore the shit storm and the bad PR. Ignore fanboys. Choose your tools based on logic. You wouldn't choose a hammer to cut wood, would you?

Last year, when I started digging seriously into Javascript, I had many questions. I took for granted that someone who defends a technology with so much conviction, probably understands it pretty well. So I placed several questions to these guys expecting to learn new stuff and understand their best practices. It happens that I haven't learnt shit. It was like if me and them were from different planets, speaking different languages. Even similar words have different meanings (their MVC is not our MVC. their dependency management is not our dependency management... etc).

I've sent a couple of emails to mailing lists of HTML5 and JS development asking people what they were using for MVC, IoC, Unit Testing, Code Coverage, Compiling, Continuous Integration, etc, etc. The answers were like "WTF dude, IoC? What are you talking about?". I now know that I was doing the wrong questions, as you'll see below.

Since I couldn't get (or understand) answers from the gurus of the JS world, I started trying to find people who were doing both large-scale Actionscript and Javascript. They would understand me. :o) It happens that there aren't many and most of them were more or less at the same point I was. The best single advice I got was: "accept web dev for what it is and don't try to change it. Don't do RIAs. Do simple web development. Then improve.". Good advice!.

Redefining our focus

As I said above, technology-wise, Flex is still perfectly valid. But it's perception is at it's lowest level and clients are quite confused and started asking us to use HTML5 to build the same type of solutions we were building with Flex.

So we had to rethink our business, and considering our desktop-developers-working-on-the-web mindset, we've decided to:

1- return to our roots: desktop development. That's what we're good at and we can still keep using Flex to build AIR applications, either for the desktop or mobile. Since we can embed the AIR runtime, those applications will be future-proof to any other crazy-game-changing decisions made by Adobe.
2- increasing our investment in developing (simple) HTML(5) webapps, while accepting the web for what it is: broken. In another words, we have to be humble about what we can provide on the web. It's too hard and expensive to build the same type of applications we were building, so we're starting with just simple webapps.

We won't be accepting huge enterprise-grade projects if they're meant to be built in HTML(5). This is actually the hardest problem to manage. There are expectations from clients. They've got used to our beautiful RIA applications, with almost no waiting times, with beautiful and pixel-perfect interactive user interfaces. And now they want the same, but in HTML5, because Flash is "dead" and HTML5 will also run on their Mobile devices (all of them), faster and without consuming battery. At least, it's what they heard.... The solution for this problem is to say "No, we are not ready to develop it in HTML5". We'll be restricting us to simpler web-apps, until we feel that we (and the web) is ready.

First steps in JS and HTML5

During 2011, I've read A LOT about JS frameworks, libraries, approaches, etc. Sometimes, after finishing reading something, it was already outdated and a better library was available.

My first impression was that most docs were "meh": in most cases you have an excellent "Getting Started" guide, but as soon you start getting your hands dirty in more complicated scenarios, things start falling apart and you'll see no or outdated advanced documentation.

Another trend that I hated in my readings was the lack of objectivity: instead of the typical docs saying "this framework does A,B,C,D" , I saw a lot of "THIS IS THA MOTHA-FUCKA FRAMEWORK THAT WILL SAVE UR LIFE!", "MEGA-HYPA-SHIZZLA-FRAMEWORK". Feels awkward.

I've also seen several frameworks being dropped in favor of others, which was actually what scared me the most. I felt insecure choosing the "right" libs and frameworks, so most choices I did at start were the safe ones, as you'll see below.

Another irony was that most of the JS frameworks exist to overcome the limitations of the web development (normally, the crossbrowser issues). Coming from an environment where a framework tries to abstract application concepts, it felt weird to me to use frameworks to abstract technical limitations. Today, I've learnt to enjoy and welcome these frameworks. Accept them for what they are, because the technical limitations actually exist and without those frameworks you're screwed.

In October 2011, I decided to start a medium sized real-life HTML5 webapp with a partner company, so we could test the knowledge I gathered. (A medium-sized project in the point of view of a web-developer; as a desktop-developer I see it as simple stuff #notBeingHumble ). I've allocated two developers to the project - being myself one of them. Below are the choices we did.


Despite having read about Backbone, Spine and other complicated frameworks, I've decided to start small and simple with Knockout.JS . I just wanted simple data-binding to start with, so I could get some separation between the data model and the view. Later, when we were more experienced, I would re-evaluate the choice of the framework and choose between Backbone, Spine, or another.

My choice has proven to be worthy since Knockout is actually quite simple - but far more complicated and intrusive than the ultra-easy and powerful binding we're used to in Flex.

The documentation of Knockout is quite good, with plenty of tutorials available. On Google you won't find as many resources on Knockout as you would like, but fortunately the website covers most of the important topics. The mailing list is pretty good, despite not being as active as the MLs I'm used to in the Flex world with dozens or hundreds of experts. Anyway, in the Knockout ML, there are always one or two persons kind enough to point you on the right direction, which is great.


I had already a good impression on jQuery, but even still it turned up to be even better than what I expected. jQuery not only hides a lot of the crossbrowser issues - not all -, but also boosts up a lot your productivity with dozens of shortcut functions to most of the stuff people normally need to do on the web. Use it (can you live without it?).


Managing CSS can easily turn into a pain especially if you need to do many changes to an existing stylesheet with hundreds of CSS declarations. When Googling for best practices, I met SaaS. SaaS is actually pretty simple: it let's you define CSS stylesheets with declaration hierarchy, variables and mathematic expressions, saving them on a scss file. Then you start a command line task that listens to changes to your scss file and converts it to a CSS file on the fly.

I haven't looked at Less, so I don't really know which one is better.


I also discovered (in the hard way) the pain that it can be to manage dependencies in Javascript. I was used to having all class definitions packaged for me in a single SWF and the Flash VM would take care of embedding and managing dependencies for me (pretty most like all bytecode VMs do). In the Javascript world, there's nothing taking care of this for you. You start by setting in the HTML file the location of the scripts needed, but then you cannot control the order they are loaded and run. So you can be calling a function myFunction() in fileB.js that was defined in fileA.js that was not loaded yet - resulting in errors.

I've chosen Lab.JS to solve the issue of loading dependencies on the right order. I'm also making sure that any initialization code only runs AFTER all the needed files are loaded.

I've found a problem with Lab.JS: if your code throws exceptions, they will be swallowed by the library and nothing happens. My workaround (read: ugly hack) was to do a " setTimeout(initialize, 1); " after the scripts are loaded. This way exceptions are now caught by the browser, as you would expect.


This was one of the biggest disappointments at the beginning. The biggest problem of JS is that due to it's dynamic nature it's hard to be tooled around. For building large scale complex systems, especially in a team environment, I needed good refactoring capabilities. It happens that refactoring doesn't exist in the IDEs I tried.
Ok, there is something called "rename" in WebStorm but it works for very simple cases and I've seen it resulting in unexpected results (so I always use the "preview").

Flash Builder is a complete beast (in a good sense). I've seen many people ranting on Flash Builder and even I had some disappointments a couple of years ago. But after FB 4 it just got awesome, with it's serious refactoring capabilities, find usages, metadata completion, autocomplete, inline docs, content assist, etc. Most of the best tricks from the JAVA world are available on FB. If you expect to find those in JS editors, I have bad news for you.

I've started with Aptana. It's free. It's based on Eclipse, so I felt at home at least with the shortcuts and the structure of the IDE, but with a black editor (wtf? is this the "fashion-color" for supa-dupa-web-developers?). Anyway, after two months I got tired of it. I couldn't do refactoring. I couldn't jump properly to a function definition with CTRL+click (and this was REALLY annoying). It didn't have decent auto-complete. I've tried making the debugging work but it only worked properly 15% of the time.

Then I've decided to give PHPStorm a try - which is the same as WebStorm, but also supports PHP. At first, I was scared: I couldn't find half of the stuff I needed. After one day, I was pretty comfortable with it and now I feel it's actually pretty well built. Ok, it's NOT Eclipse, but even still it's quite powerful. What those guys did was to implement really well the things you use most while developing and packaged all of them in a clean and objective interface. Kudos to JetBrains ( )!
In PHPStorm, refactoring "sorta" works in simple scenarios. If you complicate too much (like when you try to mimic packaging for your objects), it won't work. Click and jump to a function definition works. Debugging... works!! Autocomplete works a lot better than I expected. Actually, it works quite well. The catch: comparing to Aptana, it's not free.
Coming from Flash Builder, will you be happy with PHPStorm? No. But currently it seems to me that it is probably the best IDE for Web development.


I feel ashamed to say that I couldn't debug properly during the first two to three weeks. Every tool I tried didn't work as expected. It happens I was using the wrong tools, browsers and approaches.
I ended up using the debugging capabilities of both Firebug (in Firefox!) and PHPStorm. Firebug is also pretty helpful to inspect the DOM of the document, something you'll be doing every 5 minutes. Both Firebug and PHPStorm allow you to place a breakpoint in JS code and then run your code step by step, as expected. PHPStorm looks more comfortable to me, also because it's where I'm writing my code.
Bottom line: If your debugging is not working, don't blame JS: you're simply using the wrong tools.


This was probably my biggest pain point. I'll start with the conclusions: accept Javascript for what it is and don't try to mimic your common OOP techniques and classes.
Of course, you can try to mimic them - I've read half of a book teaching how to do that. But I've come to the conclusion that the complexity that you're adding to get you closer to your comfort zone ends up not being comfortable at all...
You have objects in Javascript. Some might argue that they're not "real objects", but wtf, they are what they are and bitching around all the time won't turn them into real objects. They are objects. Its the definition of "real" that is subjective :o)

The problems with JS:

- Silent errors. They happen. Get ready for them.
- Hard coupling everywhere. It's pretty hard to do loosely coupled architectures. It's quite easy to end up with a web of dependencies between different objects. I've read there are techniques to avoid hard-coupling, but I haven't had time to dig up more, so this might be my fault.
- Uglyness. I'm used to a HUGE-ULTRA-CLEAN separation between classes, libraries, modules, components and applications. In the webdev world, get ready to see PHP spitting HTML with JS that spits more HTML... Or function a() that creates another function in object b, that knows about object c and changes how c behaves. Things like that. In many known js libraries.
- It's not built for team work. At Webfuel we normally don't need to talk much with each other about development. Half a dozen guys can be working together for half a year on the same project, commiting code every 5 minutes to the same SVN, without breaking the code of others. This was quite easy to achieve much thanks to the structured nature of Actionscript, on top of some very simple practices borrowed from the JAVA world. Enter Javascript and you'll see your code breaking the code of someone else. While developing JS in a team, it's normal that developers need to talk a lot about what each one is doing, warning the other to be careful about X or Y, or asking the other "where did you put the code for...". Actionscript makes teamwork a joy almost since moment zero - there's no rocket science for a healthy teamwork environment. In Javascript, the trick is to put people working in very different unrelated parts of the projects and use techniques to encapsulate their code - I have yet to learn them, but I will soon. I've asked some JS developers about this but the ones I know are all lone-wolves so they didn't understand what I was talking about (apart from the reaction "SVN?? WTF?? Use GIT!".. hum... that wasn't my question...)
- Unpredictable. In AS3, the "this" refers to the instance where the method is defined. In JS, "this" can mean pretty much anything (remember AS2?). This was one of my biggest pain-points at first. Another problem is guessing by looking at the code the properties and functions of an Object. You can't. A function in an object can be defined pretty most anywhere. It's up to you (and your team; and your partners; and your library-providers) to make sure that you keep your house clean with everything organized in the right place.
- Code practices. These are completely different from everything you know. I taught everyone here at Webfuel to not be afraid of writing many lines of code. I want them to write self-explanatory code, like if they were writing English. Enter Javascript. And cry. By some weird reason, people like to write as much code as possible in a single line, making it not only very hard to read, but also very hard to maintain. I've got used to seeing the #('huge').line({of: code, that: function() { looks() }).like('a').train(); . And this practice is everywhere, pretty most all examples, libraries and worse: in books! One of the books I read had one line that took me around 5 minutes to understand! The fun part is that I had the book with me in San Francisco on the Flex Summit and I showed that line of code to several people just to scare the shit out of them. It worked!

Bottom line: if you're a OOP purist, with many years of experience on software engineering on Flex and/or JAVA, you're going to be scared. The mindset is different. The problems are different. The solutions are different. Even the slang is different. The good part: no compiling times. Which is actually a very good part...

There's so many people betting in JS, shouldn't it be good?

This is actually the question that confuses me the most. I simply don't have an answer... Some people seem to be able to pretty much do anything they need. But at the same time the language certainly has it's fundamental problems that can scare the shit out of you if you're doing a one-year-project.
One thing is for sure: it's being pushed forward and you can't deny that.


I haven't tried yet CoffeeScript. After reading a bit about CoffeeScript, I've learnt that you still need to be comfortable with Javascript to use CoffeeScript properly. And that's what I'm doing. On the next project I might give CS (or other language that cross-compiles) a try.

Layouting and the DOM

This was actually my biggest disappointment. Flex (>4) is amazingly simple and powerful on what it comes to pixel perfect skinning and layouting. You have pretty most no constraints in Flex in what it comes to layouting, giving you imense freedom in creating perfeccionist user-experiences. You don't think "how am I going to implement this?" because there's not much to know with Spark skinning: it's really powerful and simple.
The HTML world is different. You have to be aware of the constraints before creating the design and setting the user experience. I wasn't aware of these constraints so we had to change the designs of the product we're building a couple of times on the middle of the project to turn them into something possible/easier to achieve in HTML. I really hate constraints that end up affecting the user experience.

You have also to be prepared to accept small (and big) cross-browser rendering differences. They will happen. A lot. But that's another topic...

Optimizations/Preloading content

Coming from the Flash world I was used to have to build one single application (the SWF) that has all (static) assets embedded. This results in pretty small files (yes, a SWF is smaller than it's HTML+JS+CSS+Assets equivalent, even after minimization and gzip, and etc), only one request to the server (which results in a very low load on the server), and the assumption that all the content you need is available at runtime since moment 0. If you want to achieve a similar result in JS, you have to do it by hand - there's nothing taking care of that for you. You have to join and minify Javascript and CSS files and resort to image sprites to reduce the number of requests to the server and the user perceived speed.

An image sprite is simply one PNG file with all the images and icons you use in your webapp. Then you simply apply that image as the background image of your UI component, using CSS to set a translation so it shows the icon/image you need. It's quite simple, but make sure you load this image before your content appears on screen. The same applies to other content, in case you don't want the user to see "glitches" on the layout while things load.

During loading I am hiding most divs (display: none) in the DOM, showing a preloader and after all content is ready (JS files through Lab.JS, Image Sprite, etc), I'm using jQuery to show stuff. It's quite simple, actually, but of course, Flex did take care of all that for you... BTW, I saw this today, but I haven't tried it yet:

I've started today looking for a Javascript minifier. I need something that can automatically watch a folder with several JS files and merge them in a single minified file. If possible, assigning a revision number to the generated file. I haven't yet found anything, but I'll update this post if I have positive results.

HTML(5), JS and Mobile

If you think you're going to build something in HTML(5)+JS that will work seamlessly and without problems in desktop AND mobile browsers, think again. Document based websites usually work without problems on both types of environments. But if you're doing a more or less advanced user experience that relies in some CSS and JS magic, then be prepared to be disappointed when you open your content in your Mobile device. Not that the mobile browsers are bad - they're actually pretty good. The problem is that the Mobile experience needs to be thought from the start - people will be using their huge clumsy fingers to interact, the screen will be smaller and the hardware resources are more limited. So at the end, you have to implement at least two different user experiences and switch between them according to the device capabilities using Media Queries. I haven't yet tried Media Queries, so there's not much I can say about this. I just mentioned this topic because I've seen several people migrating their Flash applications to HTML expecting them to work right away on iOS - without thinking that it's probably cheaper to keep the Flash version on the desktop and building a dedicated version for iOS.

UI Components

DateChooser, NumericStepper, TextInput, DropDownList, RadioButton, Panels, Accordions, HGroup, Charts, Lists with Renderers, DataGrid, etc, etc, etc, almost all types of components you can imagine are available in Flex. And they are extendable and completely skinnable. You have great control in your hands. In the HTML world, either you go with the limited browser components - that are not extendable and are hard to skin but they integrate with the browser and the device -, or you have to choose a component library like jQuery UI, ExtJS or zkoss, among other - that are more or less powerful, but don't integrate with the browser or device.

After exploring dozens of options, all of them with their cons and cons, I felt unsecure on choosing one option, spending time and money learning it and teaching it to my team, to later conclude that I might have chosen the wrong one. So I've decided NOT to try any component library - apart from the limited jQuery UI -, simply because there are too many things changing right now and it's very hard to predict which libraries will succeed and which ones will not. I'm going to be lazy (also because I can't study thousands of stuff at the same time) and wait to see what other Flex developers will choose. In the meanwhile, as I said above I won't be using HTML(5) to build RIAs, but only simple webapps. And for that, jQuery UI is up to the task (with some quirks here and there).

Crossbrowser issues

Heck, this is my biggest nightmare. I tremble everytime someone says the world "web browser". Ok, I'm exagerating a bit. Crossbrowser issues exist, they are a PITA and they will consume at least 30% of your time in a project. But to be honest, at first I was expecting it would be a lot worse. Don't take me wrong here, crossbrowser issues are a nightmare. Simply, they're not as scary as I thought. If you follow me on twitter (!/joaosaleiro ) you've probably seen me cursing some web-browsers (hint: has two letters, starts with an I, ends with an E). Get ready to having to test something in several browsers and to change plans in the middle of the project because your approach doesn't work as expected in one or two major browsers - especially if you're building edge-cases and using HTML5 stuff.

You can't miss this article:

We had one crossbrowser issue this week that almost killed our current project. We needed to override the browser URL while the user was navigating the application and we couldn't rely in simple URL hashes. We were hoping that history.pushState was up the task, but it happens that it is not. Erratic behavior in Safari, doesn't work in IE, worked in Android until 2.3.3 and stopped working in 3.0 and 4.0 (WTF?)... Fortunately, I've found History.js which was built exactly to fix our problem and reduce (not fix) the cross-browser issues. See, the good thing is that crossbrowser issues happen to everyone, so you'll likely find a workaround on the web.

If you're doing HTML5 you probably know about . If you don't, go there.


Our productivity is pretty bad right now - but we are getting better! We've spent 11 weeks of two resources to build something in HTML(5)+JS that we would have built in 3 weeks with the same resources in Flex, without any stress at all. Of course, I take a big part of the guilt here: we're still learning and during the first weeks there were a lot of readings, plan changes, tests and bumps on the road.
The real issue is how tight the relation between productivity and your experience with the tech is: the bumps on the road are there, they happen to everyone and you won't be able to predict them, so the only solution is be experienced and be aware of those issues. They will simply happen, you'll curse them, search the internet for hours, fix/hack them and the next time you'll meet them, THEN, you'll be ready and productive.
You'll end up implementing workarounds and hacks (on top of other hacks) constantly. Coming from the Flex world, you'll feel ashamed of your hack - don't be. It's normal. Most of the times, you won't have another choice but to accept the hack and move on.
Coming from a rapid development environment as Flex, productivity in JS and HTML can be quite frustrating until you get used to the bumps on the road. After you're experienced, it will get better, but I don't expect it to come any close to Flex development in a near future.


The first conclusion is that we'll keep using Flex in long-term enterprise RIAs projects. Neither the open-standards nor we are ready to build the same type of experiences that our clients expect us to do.

At the same time, we'll be accepting smaller webapps. At this point, after three months, we're already pretty comfortable building web experiences, so it's a matter of raising the bar slowly, webapp after webapp. But I don't think we'll be able to do the same type of RIAs we were doing with Flex at least in the next two years. Also, maintainability and it's cost scares the shit out of me. And all the moving parts of HTML5 - new libraries appearing, others disappearing, browsers dropping support of features, etc. There are lots of "ands".

I know I've missed a half a dozen topics above and I know I'll have dozens of other topics to write about in a couple of months. Actually, there are no real conclusions here - only open subjects. There's much to be investigated and learnt. I'm sure I'm not completely right in some of the above topics and I would love to get your feedback, pointing me on the right directions where I got it wrong. I can only hope that most of the stuff I pointed above won't look as bad in a couple of months as it looks now. Or that browser vendors shake hands and decide to stop fragmenting the web. Maybe they could all be friends and adopt the same rendering engine and VM (_giggles_). For example, Google Dart. (_yeah, right_...)
Add a comment...
Have him in circles
194 people
Tec Labs Centro de Inovação's profile photo
Suzane Maria Costa's profile photo
Alzira Gomes's profile photo
sergio da silva Sarmento's profile photo
Tiago Costa's profile photo
Antonio Correia's profile photo
Nacho Tasí's profile photo
Gabriel Calado's profile photo
Ricardo Silveira's profile photo

Jorge Raimundo

Shared publicly  - 
Vale a pena ver
 ·  Translate
+Paweł Milcarek : "W czwartek klasztor w Wisques został przejęty przez mnichów z Fontgombault - dzień później zostały tam wdrożone wszystkie obserwancje fontgombijskie, włącznie ze "starą Mszą". Byłem tam w tychże dniach: było to, trzeba przyznać, dość niesamowite, asystowanie w tej "pokojowej kontrrewolucji". Na miejsce wymierającego klasztoru o już bardzo luźnej obserwancji przyszli młodzi lecz już doświadczeni mnisi, gotowi wnieść tam życie dokładnie takie jakie mogą pamiętać najstarsi mnisi z Wisques. Pierwszym znakiem, który dojrzałem był na nowo ubrany ołtarz główny, potem wniesiono do kaplicy ołtarze boczne. Przyszedłem na pierwszą od dziesięcioleci jutrznię odmawianą wedle układu z Reguły. Mnisi wrócą do uprawy ziemi, od dawna rozdanej w dzierżawy. Na nowo zacznie obowiązywać klauzura. To już po raz szósty Fontgombault daje początek nowmu klasztorowi - po raz pierwszy przez przejęcie klasztoru "na wymarciu". Signum temporis..."
 ·  Translate
Add a comment...

Jorge Raimundo

Shared publicly  - 
A minha primeira tentativa de fazer um vídeo. Ouçam a música :D
 ·  Translate

Jorge Raimundo

Shared publicly  - 
A primeira colheita dos meus vasos, uns belos rabanetes
 ·  Translate
Add a comment...

Jorge Raimundo

Shared publicly  - 
Ready... Set... GO!
Add a comment...
Have him in circles
194 people
Tec Labs Centro de Inovação's profile photo
Suzane Maria Costa's profile photo
Alzira Gomes's profile photo
sergio da silva Sarmento's profile photo
Tiago Costa's profile photo
Antonio Correia's profile photo
Nacho Tasí's profile photo
Gabriel Calado's profile photo
Ricardo Silveira's profile photo
  • Universidade Católica
    Theology, 1995 - 2001
    Telecommunications and Computer Science, 2003 - 2007
Basic Information
Other names
Bragging rights
I have 3 kids!
Telecommunications and Computer Science Engineer
  • Multivision
    Web Developer, 2009 - present
  • Alcatel-Lucent
    Telecommunications and Computer Science Engineer, 2007 - 2009
  • ISCTE (Computer department)
    2005 - 2007
  • Caixa Mágica
    2006 - 2007
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Alverca do Ribatejo (Portugal)
Paris (France), Milhazes (Portugal) - Paris (France) - Milhazes (Portugal) - Porto (Portugal) - Fortaleza (Brazil) - Lisbon (Portugal)