________________________________________ Kiran Subbaraman http://subbaraman.wordpress.com/about/
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-d...@googlegroups.com
unsubscribe: web2py-develop...@googlegroups.com
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-develop...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ok, that's great... Going JS, I would have a way to modify validator dynamically or avoid them... I guess since the form is in "JS" removing input field from HTML with ractive.js or other mean you solve the issue I am talking about... I guess each field/input are submitted individually (?) as and when they are completed... Or the whole form is still submit in one single action?
uhm. ATM the demo is pretty unusable: what are you running this app into ? sure it's web2py ? :D
{{=URL('static', '')}} isn't a proper way to return the base url for static files........ corrected to a fixed /w3/static/ ....
osutils's get_files isn't there .... mocked with a [a for a in os.listdir(path)], at least I can reach the app's index without errors.
markmin data isn't there….
ok, it's a POC, I fixed it to reach the "index" page ..... then, what should I do ? :D
got the forms base idea... ractive supports ie8+, JSON.stringify is available on ie8 (altough only in standards mode), so we are covered from ie8 onwards.
fast notes:
- too much globals around, available and hackable by whatever js lib is included
- there's a lot of ractive templating niceties around... but I'm not sure I'll be proficient with it in less than 2 weeks, and I worked with ractive before...guess I'll need to learn another template language
- file submission and ajax don't really play nice: there would be a taddle bit of machinery to support it out of the box with the current ractive features
- still need to see if my wonderful plugins for inputs (taggers, select2-like autocomplete, etc) are ractive-compatible: reinventing the wheel takes time, and nobody seems to care for ractive plugins ecosystem (in comparison with, e.g., react or angular)
- forms are not implemented with the correct logic regarding errors....hopefully a form-group {{#error}}has-error{{/error}} should fix that but.......that file is going to be shipped with every page requesting a form....a logic to fetch only the needed bits (AMD like) could take a while to implement
- double-submission!
less important...messages dropdown including errors.......took ages to find it!
BTW: what's smartramcache for ?
works with trunk. I know it is an odd syntax but the reason is that I want some parts of this to be easily portable to other frameworks.
I want to cache in ram session on db when they are sticky. Not currently used.
On Mar 16, 2015, at 5:22 PM, Niphlod <nip...@gmail.com> wrote:
[…]
fast notes:
- too much globals around, available and hackable by whatever js lib is included
- there's a lot of ractive templating niceties around... but I'm not sure I'll be proficient with it in less than 2 weeks, and I worked with ractive before...guess I'll need to learn another template language
- file submission and ajax don't really play nice: there would be a taddle bit of machinery to support it out of the box with the current ractive features
- still need to see if my wonderful plugins for inputs (taggers, select2-like autocomplete, etc) are ractive-compatible: reinventing the wheel takes time, and nobody seems to care for ractive plugins ecosystem (in comparison with, e.g., react or angular)
- forms are not implemented with the correct logic regarding errors....hopefully a form-group {{#error}}has-error{{/error}} should fix that but.......that file is going to be shipped with every page requesting a form....a logic to fetch only the needed bits (AMD like) could take a while to implement
- double-submission!
less important...messages dropdown including errors.......took ages to find it!
On Mar 16, 2015, at 5:29 PM, Massimo DiPierro <massimo....@gmail.com> wrote:On Mar 16, 2015, at 5:22 PM, Niphlod <nip...@gmail.com> wrote:[…]fast notes:
- too much globals around, available and hackable by whatever js lib is includedAny client-side app is “hackable” by js files. ;-)
On 16 Mar 2015, at 5:15 PM, Massimo DiPierro <massimo....@gmail.com> wrote:What’s IIFE?