Skip to content

Commit c2c9dc7

Browse files
authored
docs: add Charts to features and improve docs
1 parent 982b6fb commit c2c9dc7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ or from CDN with standalone script (IIFE)
3939
- Setting page headers and footers
4040
- Formula support
4141
- Insertion of pictures
42+
- Charts
4243

4344
### Why on earth would you build an excel file in JavaScript?!?!
4445

@@ -48,13 +49,13 @@ There are a couple of reasons. First, consider that quite often the data one wan
4849

4950
Second, consider that the user may already have all of the transformations they want done to the data on the screen - sorting, columns, colors, etc. This may take a while for the user to do - possibly rendering a caching mechanism useless. Or perhaps timing them out. You already have to collect their preferences in JavaScript - why bother creating a way to send the server those preferences, and then work through applying said preferences?
5051

51-
Third, take a look at what an Ms Excel file really is. It's a zip file full of XML files. The zip format is a very standardized format with a library that was written by some brainiac for JavaScript readily available. JavaScript eats XML files for breakfast - browsers already have the native ability to work with XML. With the eclipse of IE6 (and IE7 coming shortly), the JavaScript engines that may show up to grab a copy of that report are becoming increasingly powerful. More and more you should be pushing as much processing as you can onto the client and off of your server.
52+
Third, take a look at what an Ms Excel file really is. It's a zip file full of XML files. The zip format is a very standardized format with a library that was written by some brainiac for JavaScript readily available. JavaScript eats XML files for breakfast - browsers already have the native ability to work with XML. The JavaScript engines that may show up to grab a copy of that report are becoming increasingly powerful. More and more you should be pushing as much processing as you can onto the client and off of your server.
5253

5354
Heck, if you've been in the development business for more than 5 years, you probably have realized that some of your 'powerful' first webservers are vastly outpaced by today's laptop. I know that my first webserver was slower than my phone is now!
5455

5556
### OK - So how do I "download" a file that the browser creates?
5657

57-
Here's the tricky part. There are a couple different ways of doing this, so pick the one that is least painful.
58+
Here's the tricky part. There are a couple different ways of doing this, so pick the one that is the least painful.
5859

5960
- Use the Downloadify project
6061
- Use the newer browser's API's to create a Blob and save it. Google always helps here..

0 commit comments

Comments
 (0)