Re: [web2py] Re: Brainstorming

2015-05-06 Thread Ron Chatterjee
Thanks. Looks like lot of Json format data. Reminds me of mongodb. On Wednesday, May 6, 2015 at 1:20:17 PM UTC-4, Richard wrote: > > https://github.com/mdipierro/w3 > > This is Massimo's example of Ractive.js integration into web2py workflow > > Richard > > On Wed, May 6, 2015 at 1:11 PM, Ron Chat

Re: [web2py] Re: Brainstorming

2015-05-06 Thread Richard Vézina
https://github.com/mdipierro/w3 This is Massimo's example of Ractive.js integration into web2py workflow Richard On Wed, May 6, 2015 at 1:11 PM, Ron Chatterjee wrote: > I thought there is an example to share. Sorry. > > > On Wednesday, May 6, 2015 at 1:07:52 PM UTC-4, Richard wrote: >> >> @Ron

Re: [web2py] Re: Brainstorming

2015-05-06 Thread Ron Chatterjee
I thought there is an example to share. Sorry. On Wednesday, May 6, 2015 at 1:07:52 PM UTC-4, Richard wrote: > > @Ron, we are talking!! > > :) > > Richard > > On Wed, May 6, 2015 at 12:58 PM, Ron Chatterjee > wrote: > >> Can we take a sneak peak at that, whats upcoming?:-) >> >> >> On Wednesday,

Re: [web2py] Re: Brainstorming

2015-05-06 Thread Richard Vézina
@Ron, we are talking!! :) Richard On Wed, May 6, 2015 at 12:58 PM, Ron Chatterjee wrote: > Can we take a sneak peak at that, whats upcoming?:-) > > > On Wednesday, May 6, 2015 at 12:43:03 PM UTC-4, JorgeH wrote: >> >> React.js is not that new. >> >> They are pretty similar. >> >> Here is an ar

Re: [web2py] Re: Brainstorming

2015-05-06 Thread Ron Chatterjee
Can we take a sneak peak at that, whats upcoming?:-) On Wednesday, May 6, 2015 at 12:43:03 PM UTC-4, JorgeH wrote: > > React.js is not that new. > > They are pretty similar. > > Here is an article from May 6th 2014. Exactly 365 days ago. > > > http://blog.ractivejs.org/posts/whats-the-difference-b

Re: [web2py] Re: Brainstorming

2015-05-06 Thread JorgeH
React.js is not that new. They are pretty similar. Here is an article from May 6th 2014. Exactly 365 days ago. http://blog.ractivejs.org/posts/whats-the-difference-between-react-and-ractive/ Massimo is already implementing ractive.js into web2py with impressive accomplishes. http://www.racti

Re: [web2py] Re: Brainstorming

2015-05-06 Thread Michele Comitini
IMHO ReactJS is no newer than Ractive.js. It's being backed by facebook since a while ago. I like the author's philosophy (read independence ) and design simplicity of Ractive.js, things that I appreciate even more in web2py, but that's a matter of personal taste :-) 2015-05-06 17:23 GMT+02:00 R

Re: [web2py] Re: Brainstorming

2015-05-06 Thread Ron Chatterjee
That will be a cool concept!:-). I would love to see its done. On Wednesday, May 6, 2015 at 11:16:58 AM UTC-4, Ramos wrote: > > We are talking about integrating web2py with javascript ui frameworks > > > 2015-05-06 16:09 GMT+01:00 Ron Chatterjee >: > >> What is this post is all about regarding we

Re: [web2py] Re: Brainstorming

2015-05-06 Thread António Ramos
We are talking about integrating web2py with javascript ui frameworks 2015-05-06 16:09 GMT+01:00 Ron Chatterjee : > What is this post is all about regarding web2py? Just went over my head! > > On Wednesday, May 6, 2015 at 10:38:39 AM UTC-4, Richard wrote: >> >> I think it will be difficult to ma

Re: [web2py] Re: Brainstorming

2015-05-06 Thread Ron Chatterjee
What is this post is all about regarding web2py? Just went over my head! On Wednesday, May 6, 2015 at 10:38:39 AM UTC-4, Richard wrote: > > I think it will be difficult to make everyone happy with a given choice... > > Michele "agnostic" point is good even if in pratice it may be difficult > (le

Re: [web2py] Re: Brainstorming

2015-05-06 Thread António Ramos
I didnt say Ractive.js I wrote React.JS https://www.youtube.com/watch?v=rFvZydtmsxM 2015-05-06 15:38 GMT+01:00 Richard Vézina : > I think it will be difficult to make everyone happy with a given choice... > > Michele "agnostic" point is good even if in pratice it may be difficult > (let say BS

Re: [web2py] Re: Brainstorming

2015-05-06 Thread Richard Vézina
I think it will be difficult to make everyone happy with a given choice... Michele "agnostic" point is good even if in pratice it may be difficult (let say BS2 for instance we were maried with it until recently) Ractive.js as Massimo imaged is Ractive.js is to Angular.js what web2py is to Django

[web2py] Re: Brainstorming

2015-05-06 Thread Ramos
There is a new kid on the block Reactjs Any experiment with it and web2py ? Seems a lot less complex than angularjs Regards Em quinta-feira, 3 de julho de 2014 09:46:06 UTC+1, Mirek Zvolský escreveu: > > Here is a project which lists and compares a little javascript frameworks: > todomvc.com >

[web2py] Re: Brainstorming

2014-07-03 Thread Mirek Zvolský
Here is a project which lists and compares a little javascript frameworks: todomvc.com Dne neděle, 15. června 2014 10:34:25 UTC+2 Massimo Di Pierro napsal(a): > > Often Angular comes up on this list. I tried it and I was un-impressed. > Instead today my favorite client-side stack is based on

Re: [web2py] Re: Brainstorming

2014-06-20 Thread samuel bonill
> angular has routing and other functioinalities that web2py already has. > > Angular was created for implement client side apps, based in RESTful APi, like mobile apps with ng-cordova or interactive desktop application. I develop RESTful API in web2py, and the client with NodeJs + angular for des

Re: [web2py] Re: Brainstorming

2014-06-19 Thread Massimo Di Pierro
In ractive there is nothing equivalent to this; module.controller('FooController', function($scope, userService){ $scope.data = userService.api.success(function(data) .etc.. ); }); You do not have to bind a controller to a scope. You can still do this: Hello {{yourName}}! Notice no ng

[web2py] Re: Brainstorming

2014-06-19 Thread JorgeH
> *"I am tempted to say Angular is to Django as Ractive is to web2py.*" > On Thursday, June 19, 2014 5:41:31 PM UTC-5, Massimo Di Pierro wrote: Good way to put it! Besides, angular has routing and other functioinalities that web2py already has. It doesn't make much sense having to learn and a

Re: [web2py] Re: Brainstorming

2014-06-19 Thread samuel bonill
Massimo, in angularjs, if you want use Promises in all the application scope, you need Factory o services, example : var module = angular.module('myapp', []); module.service('userService', function(){ this.api = $http.get('http://example.com/blog/default/index/blog.json'); }); // controller

[web2py] Re: Brainstorming

2014-06-19 Thread Massimo Di Pierro
In this thread there are lots of references to various libraries but they are not all the same and serve different purposes. I like sugar.js and ractive.js sugar.js is similar to underscore.js+moments.js and it extends basic objects like Date, Array, and String so that they have more methods.

[web2py] Re: Brainstorming

2014-06-19 Thread chuan137
Noelse mentioned Backbonejs yet? working on a project with it now, but do not care for it too much, I am thinking of switching to AngularJS actually. On Sunday, June 15, 2014 10:34:25 AM UTC+2, Massimo Di Pierro wrote: > > Often Angular comes up on this list. I tried it and I was un-impressed. >

[web2py] Re: Brainstorming

2014-06-19 Thread eric cuver
we can be used web2py with ractive ? Le lundi 16 juin 2014 05:31:16 UTC+2, Massimo Di Pierro a écrit : > > I have used Angular for a project and it was a nightmare. I soon moved to > ractive and did not regret it. Angular forces a scope and, for example, > promises can only live within the sco

Re: [web2py] Re: Brainstorming

2014-06-17 Thread pbreit
I have trouble with Angular. I'm sure it's mainly because I'm a newbie but I don't understand why it needs to be so complicated. I think this is partly behind my wondering is Massimo had ever considered a JavaScript framework. A web2py of JavaScript frameworks might be really interesting. It do

Re: [web2py] Re: Brainstorming

2014-06-17 Thread samuel bonill
Niphlod, for that reason I just use Angularjs... 2014-06-17 8:53 GMT-05:00 Niphlod : > @backboners: declaring models twice is not something I'd do for living ;-D > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code)

[web2py] Re: Brainstorming

2014-06-17 Thread Niphlod
@backboners: declaring models twice is not something I'd do for living ;-D -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message becau

Re: [web2py] Re: Brainstorming

2014-06-17 Thread samuel bonill
Paolo, really backbonejs is very complex, the best solution is backbone-marionettejs http://marionettejs.com 2014-06-17 7:14 GMT-05:00 Paolo Valleri : > Just to name an other one, I've used backbonejs for a project, it was the > right choice for my purposes. it is very easy to develop a client

[web2py] Re: Brainstorming

2014-06-17 Thread Paolo Valleri
Just to name an other one, I've used backbonejs for a project, it was the right choice for my purposes. it is very easy to develop a client side app if you have a rest back-end. http://backbonejs.org/ Paolo On Tuesday, June 17, 2014 8:48:03 AM UTC+2, Andrew W wrote: > > I want to use the templ

[web2py] Re: Brainstorming

2014-06-16 Thread Andrew W
I want to use the template capabilities of web2py for server side script generation, not just html. From my brief look at the ractive website I'm wondering if it is any better than what web2py does now. Do I really want a js library for this for server side templating. I could use node but I

[web2py] Re: Brainstorming

2014-06-16 Thread Derek
I prefer jqote2 and jquery pesonally. It's one of the fastest out there and the templates are pretty simple yet flexible. On Sunday, June 15, 2014 1:34:25 AM UTC-7, Massimo Di Pierro wrote: > > Often Angular comes up on this list. I tried it and I was un-impressed. > Instead today my favorite cl

[web2py] Re: Brainstorming

2014-06-16 Thread JorgeH
I have tried both Angular and Ractive. I choose Ractive every time. On Sunday, June 15, 2014 3:34:25 AM UTC-5, Massimo Di Pierro wrote: > > Often Angular comes up on this list. I tried it and I was un-impressed. > Instead today my favorite client-side stack is based on these: > > - jquery.js > -

Re: [web2py] Re: Brainstorming

2014-06-16 Thread António Ramos
Massimo, can you post a ractive example where you had problems doing it with angular? Whe should go to examples to understand this angular/ractive issue better 2014-06-16 4:31 GMT+01:00 Massimo Di Pierro : > I have used Angular for a project and it was a nightmare. I soon moved to > ractive a

[web2py] Re: Brainstorming

2014-06-15 Thread Massimo Di Pierro
I have used Angular for a project and it was a nightmare. I soon moved to ractive and did not regret it. Angular forces a scope and, for example, promises can only live within the scope. That means you cannot use Angular promises in your own library unless you put all the code in the scope. I c

[web2py] Re: Brainstorming

2014-06-15 Thread samuel bonill
Angular is very easy to learn... #1 http://campus.codeschool.com/courses/shaping-up-with-angular-js/intro #2 www.*ng*-*book*.com El domingo, 15 de junio de 2014 03:34:25 UTC-5, Massimo Di Pierro escribió: > > Often Angular comes up on this list. I tried it and I was un-impressed. > Instead toda

Re: [web2py] Re: Brainstorming

2014-06-15 Thread Michele Comitini
ractive.js author's ideas about the philosophy of the framework and more, are nicely writte in a blog. Many interesting points that were brought up here are discussed in depth there. http://blog.ractivejs.org/ mic 2014-06-15 18:19 GMT+02:00 Anthony : > Have you tried React.js (from Facebook).

Re: [web2py] Re: Brainstorming

2014-06-15 Thread António Ramos
If you check the popularity of angular ractive react etc at github you have a winner: ANGULAR!! Big community, videos ,books etc And JOBS!! Em 15/06/2014 17:19, "Anthony" escreveu: > Have you tried React.js (from Facebook). I haven't tried it but have read > good things. Supposedly somewhat simi

[web2py] Re: Brainstorming

2014-06-15 Thread Anthony
Have you tried React.js (from Facebook). I haven't tried it but have read good things. Supposedly somewhat similar to Ractive. Also seems to be more active (Ractive has had no commits for a month and seems to have limited user group activity). Anthony On Sunday, June 15, 2014 9:39:21 AM UTC-4,

[web2py] Re: Brainstorming

2014-06-15 Thread Niphlod
I was sincerely impressed with how many things you can do with Angular, but the learning curve is too steep. Then I tried knockout...much better in terms of learning curve, and its methods to map json objects (resultsets) with view-models couples nicely with web2py.but the templating lacks t