Need help with starting learn Amber-lang

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Need help with starting learn Amber-lang

XumuK
Hi, please, could you tell me how to run my first application using
amber. For example i want to type hello world. I used seaside
framework last year, but i coudnt understand how to run applications
on Amber.
Reply | Threaded
Open this post in threaded view
|

Re: Need help with starting learn Amber-lang

gokr
On 11/01/2011 10:00 AM, XumuK wrote:
> Hi, please, could you tell me how to run my first application using
> amber. For example i want to type hello world. I used seaside
> framework last year, but i coudnt understand how to run applications
> on Amber.

There are multiple ways to run Amber apps - for examples in a browser or
in Node.js. But this is a good place to start:

https://github.com/NicolasPetton/amber/wiki

regards, Göran
Reply | Threaded
Open this post in threaded view
|

Re: Need help with starting learn Amber-lang

XumuK


On 1 ноя, 13:10, Göran Krampe <[hidden email]> wrote:

> On 11/01/2011 10:00 AM, XumuK wrote:
>
> > Hi, please, could you tell me how to run my first application using
> > amber. For example i want to type hello world. I used seaside
> > framework last year, but i coudnt understand how to run applications
> > on Amber.
>
> There are multiple ways to run Amber apps - for examples in a browser or
> in Node.js. But this is a good place to start:
>
> https://github.com/NicolasPetton/amber/wiki
>
> regards, G ran

thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Need help with starting learn Amber-lang

XumuK
One more problem... I try to commit new class using button 'commit',
but there is error 'Commit filed'.
Username and pasword are right. What do i wrong?
Reply | Threaded
Open this post in threaded view
|

Re: Need help with starting learn Amber-lang

XumuK


On 6 ноя, 22:59, XumuK <[hidden email]> wrote:
> One more problem... I try to commit new class using button 'commit',
> but there is error 'Commit filed'.
> Username and pasword are right. What do i wrong?

As far i understand, i need Node.js.. I have downloaded node-
v0.4.12.tar.gz. How to install this?
Reply | Threaded
Open this post in threaded view
|

Re: Need help with starting learn Amber-lang

gokr
On 11/06/2011 08:16 PM, XumuK wrote:
>
>
> On 6 ноя, 22:59, XumuK<[hidden email]>  wrote:
>> One more problem... I try to commit new class using button 'commit',
>> but there is error 'Commit filed'.
>> Username and pasword are right. What do i wrong?
>
> As far i understand, i need Node.js.. I have downloaded node-
> v0.4.12.tar.gz. How to install this?

https://github.com/NicolasPetton/amber/wiki/Getting-started

Also more turtorial stuff etc afrom wiki front page:

https://github.com/NicolasPetton/amber/wiki

regards, Göran
Reply | Threaded
Open this post in threaded view
|

Re: Need help with starting learn Amber-lang

XumuK
Hi! One more question...
How i can use javascript libraries, for example Raphael.js in Amber?
I want to learn how to draw in browser.. Where i can find any
information about it?

For example i need to draw something like scheme with elements
connected with links.

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Need help with starting learn Amber-lang

Hannes Hirzel
This question was discussed in the thread 'Using Amber to program
graphics interactively' which started on 24th Nov. Probably the
explanations there are still too terse and we need to work out a full
example. However there you find how to load a JavaScript library and
you have an example how to call a jQuery method.

--Hannes

On 11/28/11, XumuK <[hidden email]> wrote:

> Hi! One more question...
> How i can use javascript libraries, for example Raphael.js in Amber?
> I want to learn how to draw in browser.. Where i can find any
> information about it?
>
> For example i need to draw something like scheme with elements
> connected with links.
>
> Thanks.
>
Reply | Threaded
Open this post in threaded view
|

Re: Need help with starting learn Amber-lang

Nicolas Petton
In reply to this post by XumuK
On Mon, 2011-11-28 at 12:05 -0800, XumuK wrote:
> Hi! One more question...
> How i can use javascript libraries, for example Raphael.js in Amber?
> I want to learn how to draw in browser.. Where i can find any
> information about it?
>
> For example i need to draw something like scheme with elements
> connected with links.

Hi!

There is not a single way of doing this. There are plenty of libraries
out there that allows you to do it. You can use SVG, HTML5 Canvas, etc.

If you know a particular library, I can help with using it with Amber.
If you want to use the HTML canvas object, I can help here too.

Cheers,
Nico
>
> Thanks.


Reply | Threaded
Open this post in threaded view
|

Re: Need help with starting learn Amber-lang

Sebastian Nozzi-2
In reply to this post by Hannes Hirzel
I have played a little bit with both HTML5-Canvas and the Raphael.js
library.
If you have concrete questions, feel free to ask! :-)
But basically what you would need to know is how to use the libraries
in JS, and then write it the "Amber-way".

Cheers,

Sebastian

On Nov 28, 9:05 pm, XumuK <[hidden email]> wrote:> How i can use
javascript libraries, for example Raphael.js in Amber?> I want to
learn how to draw in browser.. Where i can find any> information about
it?