porotype }>

  • Archive
  • RSS
  • Questions?

V-everything - important note about naming stuff in Vaadin

There seems to be a lot of misconceptions about naming conventions in Vaadin applications and add-ons, so I thought I’d better attempt to clear things up right away.

I’ll make sure the following is stated clearly in the upcoming Vaadin 7 tutorials and such, but it applies to v6 too, and is IMHO an important enough point to bring it up right away. 

There is a convention that some things (css classnames, client side widgets) in Vaadin are prefixed with the letter “v”. This convention is apparently often copied into add-ons and projects using Vaadin, but:

Please do not prefix your things with “v”, it is a scoping prefix intended for the Vaadin core.

Read More

    • #vaadin
    • #naming
    • #css
    • #stylename
    • #prefix
  • 7 months ago
  • 3
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

OAuth with Vaadin - Login with Facebook/Twitter/..

Easy user registration and login still seems to be somewhat of a uncracked nut. Not because we’re not trying, but it’s actually a pretty hard nut to crack - at least in a way that pleases both developers and users. For example, while OpenID first seemed like a pretty good idea, it seems it’s just too weird and complicated for the regular user, and recently several fairly prominent sites have abandoned it. 

The new favourite seems to be OAuth, popping up pretty much everywhere in the form of “Log in with X” -buttons. The reason is obvious: it’s dead simple and fast for the users to use and understand - and that includes both registration and login. You just “Log in with Facebook”, and you’re done. OAuth is also quite easy to implement in your application,  especially using some of the  libraries available. 

In this post, I’ll present a simple solution for providing such login functionality in Vaadin applications (note that this is just one side of the coin - other OAuth scenarios are not presented).

Read More

    • #vaadin
    • #add-on
    • #oauth
    • #login
    • #facebook
    • #twitter
    • #linkedin
  • 1 year ago
  • 1
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Compressing all the Vaadin things

It’s usually a good idea to gzip compress all the plaintext http traffic in @Vaadin for speed and in order to minimize the amount of transferred data. This is another server-specific configuration, and is again applicable generally and not just for Vaadin.

Read More

    • #vaadin
    • #performance
    • #gzip
    • #compression
    • #json
    • #uidl
  • 1 year ago
  • 13
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Spotify + Vaadin = truthy

For the last workday of the year, I decided to spend my @Vaadin #CF on something a bit different: @Spotify + @Vaadin 

Read More

    • #vaadin
    • #spotify
    • #api
    • #labs
    • #experiment
  • 1 year ago
  • 48
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Serving static content with Vaadin

TV Nation: 16/365

I’ve heard the question “how do I serve static resources with Vaadin” (and it’s relatives) quite many times, so I thought it’s time to address this subject.

This is actually not so much a Vaadin specific issue, but mostly a generic servlet issue - but there are some Vaadin specific things you should know.

Also, Vaadin applications are quite often mapped to “/*”, which requires you to know how to configure your setup correctly to use the ‘default’ servlet for static content - I think this is the main reason Vaadin developers seem to struggle with this.

Let’s start:

Read More

    • #resources
    • #static
    • #vaadin
    • #performance
  • 1 year ago
  • 6
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

About

Notes from a Vaadineer

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Questions?
  • Mobile
Effector Theme by Pixel Union