Archive for October, 2008

Tips Section For Our JavaScript Template Engine

October 27th, 2008 by Yves | Posted in PURE | No Comments »
Tags: ,

We have just created a tips section on the PURE Wiki. The given information should help you in your day-to-day use of PURE

All your own tips are more than welcome. Just send us an email with what you’ve got.

And to end this post on really good news, Douglas Crockford, the man behind JSON, just added PURE on JSON.org main page.

Stay Tuned

Video Tutorial To Start Developing Web Applications on Erlang

October 20th, 2008 by Hughes | Posted in erlang | 24 Comments »
Tags: , ,

Please find hereunder a video tutorial highlighting the key points of developing a JSON based web application with Erlang and Mochiweb.

Note that, for best performances (HD Definition), you have to directly go to the Vimeo website where the video is stored and watch it in full screen mode.

You may want to download the video. In that case, you will have to follow the instructions at the bottom of the video page on the Vimeo website.

Click on the image below to go the the video page.

Go to the video page

The purpose of all this, aside from arousing your curiosity, is to provide you with a getting started pack and allow you to go a step further in the Erlang web application sphere.

I invite you to download the example application (as illustrated in the video stickyNotes.zip) in order for you to understand all the pieces of the puzzle and to venture behind the scene.

Just keep in mind that stickyNotes is a one shot application that I’ve developed from scratch with the unique aim of illustrating the video example.

Having said that, any comment or suggestion is always welcome, especially about ’struct.erl’, a module that I’ve created when I was learning the language in order to play with the tree structure resulting from the mochijson2 decode function.

We are using it in our mainstream development and I’m still wondering if I might have missed something important with regard to the Erlang distro or Mochiweb itself.

In order to install this stuff on your system and assuming that Erlang is properly setup on your box, just follow these steps:

1) Download stickyNotes and extract the archive in your home directory:

stickyNotes.zip

2) cd to stickyNotes dir and compile the code :

make clean && make

3) Start the application and initialize the db from the Erlang console (only once)

./start-dev.sh
stickydb:reset().

4) Browse the following address 127.0.0.1:8000

Super easy isn’t ?

Enjoy

London Calling – FOWA 2008

October 8th, 2008 by Yves | Posted in General | 1 Comment »
Tags:

Early tomorrow, we will be leaving Brussels to attend the Future of Web Apps event in London.

The event is one of the major event in the apps industry in Europe.

Well known names are joining the party: Mark Zuckerberg from Facebook, Kevin Rose from Digg and many others.

Just leave a comment if you plan to attend the event and we might try to meet each other.

Are Online Ads The Easy Way To Donate ?

October 7th, 2008 by Yves | Posted in General | 5 Comments »
Tags:

When we redesigned the PURE website, we’ve had intense debates about adding ads or not on the main page.

I was against it mainly because when you give something Open Source, you give it for free and shouldn’t expect any financial returns.

However, I had nothing against donations.

Using ads as an easy way to donate got me convinced.

When you click on the ads, you don’t need to take your credit card out of your wallet but money goes to the provider.

Still, the reality is different. 35000 visits later, the amount of money raised thanks to the ads reaches 15$.

Are we the only one doing this for projects we like ?

At least, Seth Godin, a well-known marketer, thinks the same way

But in the long term, it can only corrupt the ads system.

And, as Google prevents you to encourage clicks, it is maybe something for Donation Sites like Pledgie to look into, a one click support badge.

Our JavaScript Template (PURE) Becomes Cross-Library

October 2nd, 2008 by Yves | Posted in PURE | 3 Comments »
Tags: , ,

We started the development of PURE with the clear goal of developing a cross-library JavaScript template engine.

Since we are using jQuery as our main JS library in the development of our BeeLit (called BeeBole now) solution, it was obvious to start with this one.

Today, we are happy to announce that PURE has moved another step closer to our initial goal as it now also works with DOMAssistant.

I must say, we haven’t really played a big role here. Everything started with a simple message on the DOMAssistant discussion group

Lim Cheng Hong (one of the three developers behind the library) took the challenge in his hands and made the 6 examples of our Getting Started page working with DOMAssistant in just two days.

You can discover those 6 examples with the DOMAssistant library here

So thank you Lim Cheng Hong and thanks to the DOMAssistant team.

We will soon update our wiki and the PURE website with those new examples.

The next steps will be to port PURE on Prototype, MooTools and Dojo.

If you are ready to get your hands dirty with those adaptations, your help will be more than welcome.

Stay tuned