A friend of mine has a fairly extensive site (maybe 30 pages) that someone long ago wrote in PHP (and static HTML). The PHP doesn't access a DB, it does other stuff organise data based on file titles, etc.
Is it possible convert the site from PHP-based to Ember 2.0 while leaving some of the PHP pages as they are.
In any case, I'm new to Ember, and want to practice it -- I was thinking of updating my friend's site to give them an admin backend for the parts they update frequently, but leaving a lot of the more "static" PHP pages alone (for instance, the original programmer wrote the Contact page in PHP, for reasons I can't figure out), simply to make the scale of the project more manageable (I'd be doing this for free, as a learning experience).
Would this work, combining PHP pages "into" an Ember 2.0 site? Just provide links back and forth, like in any website? But ember route URLs only work, as I understand it, within the Ember app -- it's different to Django, I think, in which one can link to any state within the app --
Thanks!
Aucun commentaire:
Enregistrer un commentaire