12 julho 2011

What are web frameworks missing?

First of all: there's no perfect web framework. And it doesn't matter what technology, language or platform. But I finally have come to one thing that is really important. Something most web frameworks are missing, and something I believe, as many other developers that have already blogged about, is the future of the Web.

Let's start with the consequence of the problem: the infinit fight between Web Designers and Web Developers. Designers and developers have been fighting for years within web development. And this happens because the work done by designers usually is "destroyed" by developers when they have to inject dynamic/logical code into the HTML, converting it to something like JSP, PHP, RHTML or a mix of Python and HTML. It doesn't matter the language.

The problem is clear: what the designer did goes away. If he must update the design, even if the data structure won't change, most certainly you will have problems. He might break some logics, some code, and you will have to fix it. Then, you might also break some layouts and he will have to fix it. And you might go into a loop for a couple of days because of something that should be done in about hours.


We all talk about separating layers. But when it comes to designers vs developers, we really don't care about because we are trying to push an idea of programmers that are able to design just like designers, or designers able to code as programmers. That just won't happen. You may find one or two excellent professionals like that, but is not easy. Developers and designers have different way of thinking. The former has artistic creativity while the later has logical criativity. So if we, developers, are always saying "let's use the right tool for the right job", what's happening with the designer? His work is not being done in the right tool. I've seen designers with IDEs installed on their Macs because they have to run the project to see how it's looking like.

What if he could simply use Coda or Dreamweaver or TextMate as he does but then just preview the damn HTML in the browser, which is the right tool for him? What if he could simply preview the code that will actually be send to the client? What if he could... do his work with the best tools available? The best tool for his job.

I believe in and code with a Web Framework that helps both Developers and Designers to execute their tasks with the best tools they know. A developer should concern on data, on logic, on security. A designer should concern on layout, design, colors, UX. And what one does should not break the work done by the other.

Without mixing dynamic code with HTML, or even worse, replacing HTML elements with Tag Libraries (JSP, JSF and others), the designer can just open the HTML in the browser and see how is the prototype.

You know that prototype your designer has worked on for a week to get approval from your customer? You can just use that with minimal changes, and the prototype can still be statically functional and also run in the server. If you get an email asking for a change in the layout, no problem. Ask your designer to change the HTML, he will preview in the browser, get approval from the customer, and your developer won't have to change a line.

This is what Web Frameworks are missing. This is what I'd like to see implemented in any Web Framework. This is what Apache Wicket is providing.

The rest is just scaffolding, templates and code generation.

The future is of course static HTMLs, JavaScript and REST+JSON. Web frameworks are dead.
But until the future comes, let's just improve the web development process a little bit, shall we?

30 junho 2011

Google+ Huddle vs Kik Messenger

Group messaging has never been so easy to use as with the new Google+ Huddle launched this week. The tool is well-coupled with Google+ Circles and all of your contacts which makes it easy to start chatting with specific groups of people you can relate based on the subject of your messages.

We've already seen apps like this before. Kik Messenger is one of them, if not the most used one, specially for iPhone users. The adoption however within mobile users was low. Facebook didn't even tried to do that but failed because its Facebook Groups is not as good as Google+ Circles.

And why will Huddle succeed where Facebook and Kik Messenger failed before? First because Google is Google, and everybody has a Google account. To start a group chat on Kik, all of your friends must sign up first, hence the problem with adoption. Something Google don't have to worry about. Second, because Facebook wants - needs - to have all information its users publish be public available.

The Huddle app, although very similar to Kik Messenger, has greater potential.

Icons

Group chats

A chat

UPDATE: It seems Huddle is not a new project from Google. Actually, they came with this back in 2008 and it almost killed 37signals' group messaging tool Campfire. Read the article.

30 maio 2011

Twitter email notification

Today was the last time I complained about Twitter's email notification design for, at least, direct messages. The position of username and avatar calls for my attention and everytime I look at it, I find myself searching for the message one has sent to me.

The actual design
Look at all that whitespace. Sure there's nothing can do about it? At first look, one will look at the avatar, and suddenly, will have to go backwards to find what that person had sent you.

So, I've made one little change.

The new design
Now this design has a better flow of information and still takes advantage of space for long messages and names.

Please Twitter, fix it.

You are killing my eyes one DM at a time...

Thank you.
Bruno Borges

21 março 2011

Apache Tomcat 7: Bibliotecas Compartilhadas

Publiquei no Lado Servidor uma dica boa pra quem usa Tomcat 7.

Confere lá
Contato

Email:bruno.borges(at)gmail.com

LinkedIn: www.linkedin.com/in/brunocborges
Twitter: www.twitter.com/brunoborges
Comprei e Não Vou
Rio de Janeiro, RJ Brasil
Oracle
São Paulo, SP Brasil