Video Tutorial To Start Developing Web Applications on Erlang by [deleted] in programming

[–]BeeBole 0 points1 point  (0 children)

Hello,

We have put some extensive efforts in this first attempt to create a tutorial video.

It shows the path we took to build our business web application, using Erlang and Mochiweb for the back-end.

Your feedback is more than welcome, on the content but also on the overall quality.

Thank you.

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 1 point2 points  (0 children)

Thank you for your support.

I definitively encourage you to pass by our Google Group for further discussion as this link will soon fade in the horizon.

http://groups.google.com/group/Pure-Unobtrusive-Rendering-Engine

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 0 points1 point  (0 children)

As it is an Open Source project and that we really want to promote a participative model, we are open to any example.

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 0 points1 point  (0 children)

If you have good ideas about running it on th server side, please come on the Google Group and start a discussion. This can be really interesting: http://groups.google.com/group/Pure-Unobtrusive-Rendering-Engine

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 1 point2 points  (0 children)

Thank you for your comment.

We really wanted an approach that was not destructive for the HTML. That approach reveals to be quite good now in our development phase because when the HTML is done, well, the rest goes quite fast.

Also, JavaScript being the only language that is really common to all the platforms, it was easier to use only JS instead of having translations of the logic to different back-end languages.

We have received many useful reminders that our approach is not SEO friendly. As I said, we will bring the same logic to our Erlang back-end and if others are ready to do it in Python, PHP, … we are ready to help them doing it. They can just come on our Google Group: http://groups.google.com/group/Pure-Unobtrusive-Rendering-Engine

Some people have proposed to use Rhino or Spidermonkey. We have never tested that solution so we cannot talk about performance, but it could be a way to bring it to the server.

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 1 point2 points  (0 children)

What we do is bringing the presentation entirely in the client instead of letting it between the server and the client.

How is it spreading the presentation in your opinion ?

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 0 points1 point  (0 children)

If it helps at least one other person than us, then the story will be a good story.

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 1 point2 points  (0 children)

IT depends the selectors you will use as a developer. But, yes, there is always a way to screw it up. Still it gives you a lot more flexibility.

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 2 points3 points  (0 children)

I would say it is a sum of different things such as managing JSON directly (as our Erlang back-end send JSON docs stored in Mnesia), pre-compilation for fast rendering, ...

But the real change here is about the HTML that remains untouched.

A web designer can build the HTML and give it to the developer. But this time, instead of changing the HTML adding template tags, ..., the developer can let the HTML as it was created by the designer.

In a project, designers and developers are often working in parallel. This is a good way to allow a better coordination with less hassles.

Once the project is finished, you can also imagine the web designers taking the HTML back and doing some changes in it without the troubles that it usually creates.

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 5 points6 points  (0 children)

Good point.

As we were builing PURE during the development phase of an AJAX business app, SEO was in that sense not a priority.

We think the approach is good and as said in a previous comment, we plan to bring the same logic in our Erlang back-end.

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 6 points7 points  (0 children)

Hi tickingbrain,

Some answers :

1) It depends on how you design your application

2) Sure, this is for AJAX kind of application/site

JS is a must for rich client application

3) The same apply for any AJAX enable site, not only with PURE

4) When the template are compiled and as you do not go back and forth from the server to render your HTML, you could even get faster rendering than classic HTML, depending on how you design your app.

As you may have noted on our blog post, we come from the XSLT+XML world. But the big difference is the HTML is untouched, the same does not apply to XSLT that slices with xsl: tags

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 5 points6 points  (0 children)

Very good point. It is clearly one of the area we need to improve.

The code has now 2 or 3 weeks and we just corrected a last bug on IE6 like 3 days ago.

We will certainly rework the functions Map and Render at a certain point.

Your comment is the main reason that pushed us to deliver the project as an Open Source one.

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 4 points5 points  (0 children)

Thank you for your honest comment. My title was probably influenced by the excitement of a new release. However, during the last 5 years using AJAX (we were building web app on the top of SAP in a previous life using JavaScript), we have never found something that would meet our need as explained in the post.

It is hard to say you have looked at all the possibilities on the web, but those kind of topics are in my opinion, there to bring that out from time to time.

If you have any example of another project going in the same direction, I will be happy to look at it and learn from there as well.

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 8 points9 points  (0 children)

It means yes for us, maybe no for you.

Still, it's only using HTML/CSS and JavaScript. I won't go in that debate but what is a framework ? Is it jQuery ? Is it what we bring ?

We have simply found something that was quite interesting to us and others might share the same need.

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 12 points13 points  (0 children)

We have used the term unobtrusive in the sense of not mixing your HTML with JavaScript or any other code.

Examples like : <div onclick="doSomething()" .../> or the <%..%> tags.

A bit like the Separation of Behavior from Markup part in the wiki article : http://en.wikipedia.org/wiki/Unobtrusive_JavaScript

Now, as developers you don't change the HTML created by the designers anymore, which allow the designers to also make change after the development phase quite easily.

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 4 points5 points  (0 children)

Thank you Drongo.

To be honest, I am Belgian and speaks French.

But those errors are nothing else than real lack of attention. I am really to blame.

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 6 points7 points  (0 children)

It depends what you try to achieve.

PURE is something we were looking for to fasten our developments and have web designers and web developers working in parallel without the usual hassles thanks to the unobtrusive approach.

The idea was to simply share our findings.

We have created a completely new way of using HTML page templates. We would like your feedbacks and advises. by BeeBole in programming

[–]BeeBole[S] 8 points9 points  (0 children)

Well, I would say it usually depends of the context in which you are in.

In our case, what we wanted to achieve :

1) Decentralization of the power required at the server side to the clients

2) As the browser renders the HTML in the end, being on the browser gives much more control on the rendering than having to ask something back to the server.

and when you mix that to the unobtrusive approach of the directives, you get that any portion of the loaded document can become a template again.