-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SUGESTION] Testing page for templates #78
Comments
+1 for me, that'd be super useful to learn the framework. |
Maybe an alternative would be to make AriaTemplate one of the available frameworks here: http://jsfiddle.net/ and provide some examples. For further info: http://doc.jsfiddle.net/ |
I'm definitely for it, but I'm not sure about the complexity. Since there are many types of files (TPLs, TMLs, template scripts, module controllers, CSS templates), it would not fit JSFiddle's model probably. Something custom on our side would be a preferred solution probably. Or would it be possible (the question to the team) to put multiple JS in the same JSFiddle box? I'm also not sure how about the dependencies handling in this scenario (TPL requiring a TPL script etc). |
@jakub-g you exactly spotted the main issue ! As we are fully based on XHR request to retrieve all dependencies, we unfortunately can't be available through jsfiddle without any modification on ourside. At least the first change (and the smallest one) should be that the framework might need to be usable with only one script insertion (like ariatemplates-1.2.x.js) with everything inside it .... We are far from this ... :( But We could easily provide our own jsfiddle-like tool. It's not complecated, we already have an existing platform to run samples on at.com. We are just missing a way to
So who's in ? |
I'm in. We can probably do a first version that contains only examples and allow the user to modify them, but doesn't persist any of the modifications. À la dust.js. Let me know how you want to organize this. |
Hi, It is only a prototype, but you can have a look at http://juliandescottes.github.com/instantat/ . It's a JS-Fiddle like dedicated to aria templates. Again, only a prototype, but any feedback is highly appreciated ! Thanks |
Closing this as instantat is the tool. |
We should think about hosting our own version of instantat on ariatemplates.com, and also make some changes to store the instantlets into gists associated to Github users 👍 🔥 🎉 If everyone agrees, i can spend some time on it ! |
@benouat Definitely yes. BTW I'm trying to make it possible to use Ideally we should have a CDN on AT.com with different versions, but actually this can be even hosted simply on GH repo in |
Just would like to say thank you, guys! |
Really happy to see the aria templates team getting involved here. If I can help you make sense of the "code base" of instantat, I'll be happy to help. |
Hi Guys,
I've been looking at the documentation in the website and it looks pretty neat, but something that would be really useful is to have a page where I could exercise different examples of templates and how they would be rendered using a certain json object. Just like dustjs is doing: http://akdubya.github.com/dustjs/ and like the online version of PEG.js: http://pegjs.majda.cz/online
Congrats for the great job, so far!
Cheers,
Leo.
The text was updated successfully, but these errors were encountered: