New generation of Trapped

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

New generation of Trapped

Herby Vojčík
Hello!

I'd like to proudly present the new generation of Trapped bidirectional
DOM databinding for Amber (or, IOW, decouple you HTML view from your
Smalltalk model by way of blackboard).

It went a big overhaul in last days, and taking inspiration in AngularJS
filters, processes data in a chain of transforming elements.

The architecture allows to compose the behaviour from small elements,
much like connecting small programs in UNIX via datapipe. It also allows
very easy extending by your own processing elements.

Included are two examples: the classic Seaside Counter example as well
as Todo similar to one shown in AngularJS page. Also README.md contains
first few chapters of the docs / referehce, so you can start using it
more easily (the processors reference is still TBD, but it's very easy
to look directly at the code, as each processor is small).

Herby

Links:

https://github.com/herby/trapped
http://www.herby.sk/trapped/example-counter/counter.html
http://www.herby.sk/trapped/example-todo/todo.html

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Eno
Reply | Threaded
Open this post in threaded view
|

Re: New generation of Trapped

Eno

Try running the counter.html example but showing error: Array>>anySatisfy: method in  referenced by TrappedProcessingChain class >> new,  is missing.

Best

Herby於 2013年11月29日星期五UTC+8上午11時01分44秒寫道:
Hello!

I'd like to proudly present the new generation of Trapped bidirectional
DOM databinding for Amber (or, IOW, decouple you HTML view from your
Smalltalk model by way of blackboard).

It went a big overhaul in last days, and taking inspiration in AngularJS
filters, processes data in a chain of transforming elements.

The architecture allows to compose the behaviour from small elements,
much like connecting small programs in UNIX via datapipe. It also allows
very easy extending by your own processing elements.

Included are two examples: the classic Seaside Counter example as well
as Todo similar to one shown in AngularJS page. Also README.md contains
first few chapters of the docs / referehce, so you can start using it
more easily (the processors reference is still TBD, but it's very easy
to look directly at the code, as each processor is small).

Herby

Links:

<a href="https://github.com/herby/trapped" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fherby%2Ftrapped\46sa\75D\46sntz\0751\46usg\75AFQjCNHoYcsLZb_arHLaIyi2-azxvFgxYA';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fherby%2Ftrapped\46sa\75D\46sntz\0751\46usg\75AFQjCNHoYcsLZb_arHLaIyi2-azxvFgxYA';return true;">https://github.com/herby/trapped
<a href="http://www.herby.sk/trapped/example-counter/counter.html" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.herby.sk%2Ftrapped%2Fexample-counter%2Fcounter.html\46sa\75D\46sntz\0751\46usg\75AFQjCNFsYgsSjTBcSisxFTGN2EAozXRpxQ';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.herby.sk%2Ftrapped%2Fexample-counter%2Fcounter.html\46sa\75D\46sntz\0751\46usg\75AFQjCNFsYgsSjTBcSisxFTGN2EAozXRpxQ';return true;">http://www.herby.sk/trapped/example-counter/counter.html
<a href="http://www.herby.sk/trapped/example-todo/todo.html" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.herby.sk%2Ftrapped%2Fexample-todo%2Ftodo.html\46sa\75D\46sntz\0751\46usg\75AFQjCNEoaQgqRxm6TyQ-rsBosbYG2LILlg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.herby.sk%2Ftrapped%2Fexample-todo%2Ftodo.html\46sa\75D\46sntz\0751\46usg\75AFQjCNEoaQgqRxm6TyQ-rsBosbYG2LILlg';return true;">http://www.herby.sk/trapped/example-todo/todo.html

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: New generation of Trapped

Nicolas Petton
In reply to this post by Herby Vojčík
Neat!!

Herby, do you use it in real world apps already? It would be cool to see
usage examples.

Nico

Herby Vojčík writes:

> Hello!
>
> I'd like to proudly present the new generation of Trapped bidirectional
> DOM databinding for Amber (or, IOW, decouple you HTML view from your
> Smalltalk model by way of blackboard).
>
> It went a big overhaul in last days, and taking inspiration in AngularJS
> filters, processes data in a chain of transforming elements.
>
> The architecture allows to compose the behaviour from small elements,
> much like connecting small programs in UNIX via datapipe. It also allows
> very easy extending by your own processing elements.
>
> Included are two examples: the classic Seaside Counter example as well
> as Todo similar to one shown in AngularJS page. Also README.md contains
> first few chapters of the docs / referehce, so you can start using it
> more easily (the processors reference is still TBD, but it's very easy
> to look directly at the code, as each processor is small).
>
> Herby
>
> Links:
>
> https://github.com/herby/trapped
> http://www.herby.sk/trapped/example-counter/counter.html
> http://www.herby.sk/trapped/example-todo/todo.html


--
Nicolas Petton
http://nicolas-petton.fr

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: New generation of Trapped

Nicolas Petton
In reply to this post by Eno
#anySatisfy was added to master yesterday.

Cheers,
Nico

EnoX1 writes:

> Try running the counter.html example but showing error: Array>>anySatisfy:
> method in  referenced by TrappedProcessingChain class >> new,  is missing.
>
> Best
>
> Herby於 2013年11月29日星期五UTC+8上午11時01分44秒寫道:
>>
>> Hello!
>>
>> I'd like to proudly present the new generation of Trapped bidirectional
>> DOM databinding for Amber (or, IOW, decouple you HTML view from your
>> Smalltalk model by way of blackboard).
>>
>> It went a big overhaul in last days, and taking inspiration in AngularJS
>> filters, processes data in a chain of transforming elements.
>>
>> The architecture allows to compose the behaviour from small elements,
>> much like connecting small programs in UNIX via datapipe. It also allows
>> very easy extending by your own processing elements.
>>
>> Included are two examples: the classic Seaside Counter example as well
>> as Todo similar to one shown in AngularJS page. Also README.md contains
>> first few chapters of the docs / referehce, so you can start using it
>> more easily (the processors reference is still TBD, but it's very easy
>> to look directly at the code, as each processor is small).
>>
>> Herby
>>
>> Links:
>>
>> https://github.com/herby/trapped 
>> http://www.herby.sk/trapped/example-counter/counter.html 
>> http://www.herby.sk/trapped/example-todo/todo.html 
>>


--
Nicolas Petton
http://nicolas-petton.fr

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: New generation of Trapped

Herby Vojčík
In reply to this post by Nicolas Petton


Nicolas Petton wrote:
> Neat!!
>
> Herby, do you use it in real world apps already? It would be cool to see
> usage examples.

I'm trying to - the rewrite was fueled by inadequacy of previous
implemetation for the needs of the app. Though it is still in the
making, so no examples available. :-/

> Nico
>
> Herby Vojčík writes:
>
>> Hello!
>>
>> I'd like to proudly present the new generation of Trapped bidirectional
>> DOM databinding for Amber (or, IOW, decouple you HTML view from your
>> Smalltalk model by way of blackboard).
>>
>> It went a big overhaul in last days, and taking inspiration in AngularJS
>> filters, processes data in a chain of transforming elements.
>>
>> The architecture allows to compose the behaviour from small elements,
>> much like connecting small programs in UNIX via datapipe. It also allows
>> very easy extending by your own processing elements.
>>
>> Included are two examples: the classic Seaside Counter example as well
>> as Todo similar to one shown in AngularJS page. Also README.md contains
>> first few chapters of the docs / referehce, so you can start using it
>> more easily (the processors reference is still TBD, but it's very easy
>> to look directly at the code, as each processor is small).
>>
>> Herby
>>
>> Links:
>>
>> https://github.com/herby/trapped
>> http://www.herby.sk/trapped/example-counter/counter.html
>> http://www.herby.sk/trapped/example-todo/todo.html
>
>

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Eno
Reply | Threaded
Open this post in threaded view
|

Re: New generation of Trapped

Eno
In reply to this post by Nicolas Petton

How to pull the master deposit or by way of npm update, bower updat / grunt task? which way is correct?

Best

nicolas petton於 2013年11月29日星期五UTC+8下午7時32分53秒寫道:
#anySatisfy was added to master yesterday.

Cheers,
Nico

EnoX1 writes:

> Try running the counter.html example but showing error: Array>>anySatisfy:
> method in  referenced by TrappedProcessingChain class >> new,  is missing.
>
> Best
>
> Herby於 2013年11月29日星期五UTC+8上午11時01分44秒寫道:
>>
>> Hello!
>>
>> I'd like to proudly present the new generation of Trapped bidirectional
>> DOM databinding for Amber (or, IOW, decouple you HTML view from your
>> Smalltalk model by way of blackboard).
>>
>> It went a big overhaul in last days, and taking inspiration in AngularJS
>> filters, processes data in a chain of transforming elements.
>>
>> The architecture allows to compose the behaviour from small elements,
>> much like connecting small programs in UNIX via datapipe. It also allows
>> very easy extending by your own processing elements.
>>
>> Included are two examples: the classic Seaside Counter example as well
>> as Todo similar to one shown in AngularJS page. Also README.md contains
>> first few chapters of the docs / referehce, so you can start using it
>> more easily (the processors reference is still TBD, but it's very easy
>> to look directly at the code, as each processor is small).
>>
>> Herby
>>
>> Links:
>>
>> <a href="https://github.com/herby/trapped" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fherby%2Ftrapped\46sa\75D\46sntz\0751\46usg\75AFQjCNHoYcsLZb_arHLaIyi2-azxvFgxYA';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fherby%2Ftrapped\46sa\75D\46sntz\0751\46usg\75AFQjCNHoYcsLZb_arHLaIyi2-azxvFgxYA';return true;">https://github.com/herby/trapped
>> <a href="http://www.herby.sk/trapped/example-counter/counter.html" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.herby.sk%2Ftrapped%2Fexample-counter%2Fcounter.html\46sa\75D\46sntz\0751\46usg\75AFQjCNFsYgsSjTBcSisxFTGN2EAozXRpxQ';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.herby.sk%2Ftrapped%2Fexample-counter%2Fcounter.html\46sa\75D\46sntz\0751\46usg\75AFQjCNFsYgsSjTBcSisxFTGN2EAozXRpxQ';return true;">http://www.herby.sk/trapped/example-counter/counter.html
>> <a href="http://www.herby.sk/trapped/example-todo/todo.html" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.herby.sk%2Ftrapped%2Fexample-todo%2Ftodo.html\46sa\75D\46sntz\0751\46usg\75AFQjCNEoaQgqRxm6TyQ-rsBosbYG2LILlg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.herby.sk%2Ftrapped%2Fexample-todo%2Ftodo.html\46sa\75D\46sntz\0751\46usg\75AFQjCNEoaQgqRxm6TyQ-rsBosbYG2LILlg';return true;">http://www.herby.sk/trapped/example-todo/todo.html
>>


--
Nicolas Petton
<a href="http://nicolas-petton.fr" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fnicolas-petton.fr\46sa\75D\46sntz\0751\46usg\75AFQjCNElA-qGe8D9XlAoeJGd_-UTu4s_wg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fnicolas-petton.fr\46sa\75D\46sntz\0751\46usg\75AFQjCNElA-qGe8D9XlAoeJGd_-UTu4s_wg';return true;">http://nicolas-petton.fr

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: New generation of Trapped

Herby Vojčík
In the case of trapped, it uses amber via  bower and points ro master for now until 0.12.2 is released, so bower update should work.

EnoX1 wrote:

>
> How to pull the master deposit or by way of npm update, bower updat /
> grunt task? which way is correct?
>
> Best
>
> nicolas petton於 2013年11月29日星期五UTC+8下午7時32分53秒寫道:
>
>     #anySatisfy was added to master yesterday.
>
>     Cheers,
>     Nico
>
>     EnoX1 writes:
>
>     > Try running the counter.html example but showing error:
>     Array>>anySatisfy:
>     > method in referenced by TrappedProcessingChain class >> new, is
>     missing.
>     >
>     > Best
>     >
>     > Herby於 2013年11月29日星期五UTC+8上午11時01分44秒寫道:
>     >>
>     >> Hello!
>     >>
>     >> I'd like to proudly present the new generation of Trapped
>     bidirectional
>     >> DOM databinding for Amber (or, IOW, decouple you HTML view from
>     your
>     >> Smalltalk model by way of blackboard).
>
     >>

>     >> It went a big overhaul in last days, and taking inspiration in
>     AngularJS
>     >> filters, processes data in a chain of transforming elements.
>     >>
>     >> The architecture allows to compose the behaviour from small
>     elements,
>     >> much like connecting small programs in UNIX via datapipe. It
>     also allows
>     >> very easy extending by your own processing elements.
>     >>
>     >> Included are two examples: the classic Seaside Counter example
>     as well
>     >> as Todo similar to one shown in AngularJS page. Also README.md
>     contains
>     >> first few chapters of the docs / referehce, so you can start
>     using it
>     >> more easily (the processors reference is still TBD, but it's
>     very easy
>     >> to look directly at the code, as each processor is small).
>     >>
>     >> Herby
>     >>
>     >> Links:
>     >>
>     >> https://github.com/herby/trapped
>     <https://github.com/herby/trapped>
>     >> http://ww
w.herby.sk/trapped/example-counter/counter.html

>     <http://www.herby.sk/trapped/example-counter/counter.html>
>     >> http://www.herby.sk/trapped/example-todo/todo.html
>     <http://www.herby.sk/trapped/example-todo/todo.html>
>     >>
>
>
>     --
>     Nicolas Petton
>     http://nicolas-petton.fr
>
> --
> You received this message because you are subscribed to the Google
> Groups "amber-lang" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [hidden email].
> For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.