Reputation: 717
So I am trying to develop a browser based 'app' that is similar to a catalog. The user can place orders and view items on this page. Right now it is made up of an HTML page, a CSS sheet, some Javascript and some PHP. Unfortunately this app can not be hosted on a server, and will the files will be directly sent to the user.
I don't want to directly send all of my code to the user, I want to make things simpler (and more hidden) by compiling all these scripts/sheets into one file that the user can just open in their browser.
I've considered doing the scripts and sheets inside inline HTML, but inline script have too many drawbacks and are bad practice.
Any suggestions on how to accomplish this? Should I not worry about it and make sure to instruct the user just to open up the HTML file?
Thanks.
Upvotes: 0
Views: 142