[web2py] Re: Webassets in web2py

2012-12-19 Thread Arnon Marcus
I'm starting to fall in love with TypeScript... http://www.youtube.com/watch?v=3dqZW_DqHIQ On Tuesday, December 18, 2012 1:21:33 AM UTC+2, Arnon Marcus wrote: That sounds very cool, thanks for the detailed answered, this makes my head a little calmer now... BTW, I actually DID mean

[web2py] Re: Webassets in web2py

2012-12-19 Thread Niphlod
anoher node.js dependancy ^_^ Il giorno mercoledì 19 dicembre 2012 15:53:45 UTC+1, Arnon Marcus ha scritto: I'm starting to fall in love with TypeScript... http://www.youtube.com/watch?v=3dqZW_DqHIQ On Tuesday, December 18, 2012 1:21:33 AM UTC+2, Arnon Marcus wrote: That sounds very

[web2py] Re: Webassets in web2py

2012-12-19 Thread Arnon Marcus
Hmmm, not exactly. You CAN use node for/with it, but there are also IDE plugins. I'm using Visual Studio 2012 (trial) and it compiles-on-save automatically, with a side-by-side updating javascript target file view. that is being generated as I save. All the material needed to make such a plugin

[web2py] Re: Webassets in web2py

2012-12-19 Thread Niphlod
so develop web2py in VS and not in the integrated admin interface :P I was referring to the fact that there is no python compiler for typescript (other IDE advertised have only the syntax highlight feature, not the auto-compile feature) On Wednesday, December 19, 2012 5:40:31 PM UTC+1, Arnon

[web2py] Re: Webassets in web2py

2012-12-19 Thread Arnon Marcus
The auto-compile is just calling the JavaScript-based compiler on the code when the file is saved... Doesn't sound like a lot to implement for a plugin... Maybe there are even things one can wire manually in some IDEs, like binding the save short-key to a macro that runs a command line in the

[web2py] Re: Webassets in web2py

2012-12-18 Thread Arnon Marcus
That's interesting - you seem to be using the e-mail response and not google-groups. Try viewing this thread in google-groups, and see the difference. In this case, I already found my error and corrected it inside the post itself, long before you corrected me. I basically said what you said -

[web2py] Re: Webassets in web2py

2012-12-17 Thread Niphlod
let's give webassets a try: it's a dependency hell (I highly doubt this will be shipped with web2py). However, contrib module are made for those kind of things. Shallow first analysis according to http://elsdoerfer.name/docs/webassets/builtin_filters.html JS: - rjsmin (strips just newline and

[web2py] Re: Webassets in web2py

2012-12-17 Thread Arnon Marcus
Holy shit... Where did you say you got all that info from? Is this what that module needs? I thought it's just a stand-alone pythonic-module doing everything... Guess I was a bit optimistic... What about coffeeCup? - is it just something like edit the less file in static/less/file.less and

[web2py] Re: Webassets in web2py

2012-12-17 Thread Niphlod
On Monday, December 17, 2012 2:50:09 PM UTC+1, Arnon Marcus wrote: Holy shit... Where did you say you got all that info from? quoted the link and scanning the source code Is this what that module needs? I thought it's just a stand-alone pythonic-module doing everything... Guess I

[web2py] Re: Webassets in web2py

2012-12-17 Thread Arnon Marcus
That sounds very cool, thanks for the detailed answered, this makes my head a little calmer now... BTW, I actually DID mean coffeCup, It refers to the python module I referenced in my second post here: http://42coffeecups.com/ It does coffeeScript-to-javascript transipling. I think this one

[web2py] Re: Webassets in web2py

2012-12-17 Thread Niphlod
BTW, I actually DID mean coffeCup, It refers to the python module I referenced in my second post here: http://42coffeecups.com/ that page lends to something I can't trace to some source code doing that. I found only tddspry and django couchdb adapter and some sites they made in

[web2py] Re: Webassets in web2py

2012-12-16 Thread Arnon Marcus
And/Or this one: http://42coffeecups.com/ On Sunday, December 16, 2012 1:57:19 PM UTC+2, Arnon Marcus wrote: Any thoughts on this? http://elsdoerfer.name/docs/webassets/index.html Has anybody tried integrating it in web2py? Should it be included in it's future releases? How should one

[web2py] Re: Webassets in web2py

2012-12-16 Thread Massimo Di Pierro
Static asset management is already integrated in web2py and it is much easier to use than those libraries. ;-) Thanks to Niphlod for that: http://web2py.com/books/default/chapter/29/04?search=static+asset#Static-asset-management On Sunday, 16 December 2012 08:04:55 UTC-6, Arnon Marcus wrote:

[web2py] Re: Webassets in web2py

2012-12-16 Thread Arnon Marcus
10x Massimo - That's good to know. But this actually has very little to do with what I suggested... :) It's good to know that we can have this control over our static-files browser-reloading. But these libraries don't do (just) that... They are for compiling / transpiling/ processing

[web2py] Re: Webassets in web2py

2012-12-16 Thread Niphlod
I'll try to explain why web2py integrates some features and why others are left alone There is mch going on web development since more or less html5 was presented. A lot of libraries, frameworks, js development, etc gained much more attention also because html5 coincided with mobile

[web2py] Re: Webassets in web2py

2012-12-16 Thread Arnon Marcus
10 for the long and detailed answer. Couple of things: 1. I've been using web2py in production in my workplace for almost 3 years now, and admire tha hell outa it. That said, it's not a 'toy' for me. It's a workplace-production tool, and I treat it as such. I appreciate web2py's origins and

[web2py] Re: Webassets in web2py

2012-12-16 Thread Arnon Marcus
And in that regard, on a more general sense, I think web2py could use a notion of dev-vs-production modes. I know many people would implement things differently, but I think that if this be a core functionality, different modules could be used for different modes. What we ended up doing, is