Skip to content
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

Support for ?dev=true #7

Open
jakub-g opened this issue May 7, 2013 · 3 comments
Open

Support for ?dev=true #7

jakub-g opened this issue May 7, 2013 · 3 comments

Comments

@jakub-g
Copy link
Contributor

jakub-g commented May 7, 2013

It'll be great to have devmode support. Primary use case: rapid debugging.

Of course it doesn't make sense to force you to import whole AT into your repo. Probably the best option will be to create a CDN subdomain with cooperation with @ariatemplates (like http://cdn.ariatemplates.com) which will be home to prod and dev releases - perhaps with versioning, so then we could even pass the version as another param: ?dev=1&version=1.3.7

We currently host AT on AT.com (because it's needed to display the page) but it's never the latest-available version, and AFAIK, only minified version.

@olaf-k what do you think?

@jakub-g
Copy link
Contributor Author

jakub-g commented May 7, 2013

Actually, for The Ultimate Debugging Experience, it will be best to install InstantAT locally and target dev files that we have synced with FileSync to http://localhost/aria-templates/dev/aria/.... But the former use case still might be valid.

@olaf-k
Copy link

olaf-k commented May 7, 2013

Not completely sure how this relates to instantAT?

The idea of the CDN has been around a while, it might work but forces you to reset the rootMap since you're not fetching the framework locally anymore. Could be done easily, with dev and version parameters assuming our server can handle the huge number of hits (j/k.)

@juliandescottes
Copy link
Owner

When it comes to different versions of AT, I guess it's a bit out of my jurisdiction :)

Until AT is available on a CDN, I can still upload the dev version that matches the one I have on instant AT today. Not super clean, but I don't see a big issue with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants