Where the user creates a filename.js.php file and it generates the javascript via PHP.
This has caused me to pause and ask some questions from those who might have done this already.
- Are there performance issues with dynamically created javascript like I mentioned above?
- For Instance::
- Could the Javascript get generated too late to load variables correctly?
- Could the Javascript not recognize the linked file due to it's dual extensions?
- Is there a better way to do javascript -via- PHP?
- Could you do CSS like this?
- Would there be performance issues with dynamically created CSS?
Any help, comments, ideas would be welcome.