??? 04/14/11 13:54 Read: times |
#181885 - It isn't the page itself that consumes code space Responding to: ???'s previous message |
Oliver Sedlacek said:
A quick test shows 3 to 1 compression on HTML. If you expand 1kByte of ROM to 3kBytes of HTML I'm sure you could have an impressive page. You are missing the point. It isn't the size of the web page content that consumes space in the embedded device. It's the code that takes all the configurable parameters, and produces nice input fields on the web page. And the code that takes the response from the web browser, and screens the values of all fields before either rejecting the page (sending out the same page again but with some fields marked as invalid but after the input values have been sanitized) or accepting the data and storing it in a good way locally - preferably protected by CRC32 or similar to make sure that the device always knows if there have been any garbling. Parts of the information could come from javascript files picked up from other web sites but it isn't optimal. And it doesn't matter how much javascript input controls you have. The web server or the device must still perform a hard screening of the parameters. |
Topic | Author | Date |
Creating iPhone apps? | 01/01/70 00:00 | |
added cost of the connectivity | 01/01/70 00:00 | |
Web server dongle | 01/01/70 00:00 | |
Code space | 01/01/70 00:00 | |
HTML isn't big | 01/01/70 00:00 | |
"only" (sic) 8919 bytes | 01/01/70 00:00 | |
All depends on target etc | 01/01/70 00:00 | |
You could do a lot in 1kByte | 01/01/70 00:00 | |
It isn't the page itself that consumes code space | 01/01/70 00:00 | |
Apps | 01/01/70 00:00 | |
Evil incarnate | 01/01/70 00:00 | |
hurdles | 01/01/70 00:00 | |
Apple "openness" | 01/01/70 00:00 | |
Free | 01/01/70 00:00 | |
Agree to disagree | 01/01/70 00:00 | |
No, quite a lot is missing | 01/01/70 00:00 | |
But still sufficient to be useful | 01/01/70 00:00 | |
No, definitely usable even if crippled | 01/01/70 00:00 | |
you misunderstood me | 01/01/70 00:00 | |
One More thing | 01/01/70 00:00 |