Results 1 to 7 of 7

Thread: FileReader API and FileWriter API in HTML5

  1. #1
    Join Date
    Feb 2011
    Posts
    3

    FileReader API and FileWriter API in HTML5

    Hello everyone, I am new to this forum, so please overlook my mistakes. Though I am trying to follow the rules.. I am here to know some information about the FileReader API and FileWriter API in HTML5. Since, this is new (somewhat) version of HTML, I am not having enough idea about it. When I tried to check in my notes it just says that HTML5 is a language for structuring and designing content for the World Wide Web, a interior technology of the Internet. And some more information but only about the tags (that too not in details). So I thought posting here would be helpful, since you members reply immediately with proper information. I am expecting for the same response from your side now. Any more topics related to the title would be useful.

  2. #2
    Join Date
    Jan 2010
    Posts
    56

    Re: FileReader API and FileWriter API in HTML5

    FileReader and FileWriter objects take on the browser sandbox out on the local hard drive. It is after all a difference if they only have the option to store data per session or whether it also functions as may use readAsBinaryString. The FileAPI is not widespread yet, but is on course, the boundaries between "private" (hard drive) and "public" (Internet tearing down part of the PC). There already exist approaches in the browser input URIs like C:/file/ how to resolve more sites. JavaScript is distinguished by uniform XML HTTP Request requests less between local and server-side data. The API details are not yet prepared. The specification is full of useful suggestions, such as the one that should remain relevant system files (like / usr / bin directories, password files, EXE files) are removed from this access. The important thing is the word "should", it is in fact used in the subjunctive. The W3C proposal asks that the browser attempts to access such files in a "Security Error" issues. Until then there is a file reader standard, it will take time.

  3. #3
    Join Date
    Jan 2010
    Posts
    112

    Re: FileReader API and FileWriter API in HTML5

    I would like to discuss about the FileWriter. I am having some information of it, maybe it can be useful for you. FileWriter is the counterpart to the file reader - the API could greatly simplify the installation of new software other things. First, a block of several bytes is created (Blob) and converted into a FileWriter object. Connecting rights can be assigned as "append" or "write" which allow the object to poach on the hard disk of the user. A paradise for viruses designers - may even choose how to install your applications.

  4. #4
    Join Date
    Apr 2010
    Posts
    59

    Re: FileReader API and FileWriter API in HTML5

    Connecting rights can be assigned as "append" or "write" which allow the object to poach on the hard disk of the user. A paradise for viruses designers - may even choose how to install your applications.
    Of course, it was not to the extent, and if the models work as intended, it is the well will not. Currently it looks like that the user is prompted by the browser before each write access, where data to be stored in hard drive, sensitive areas while probably ruled out categorically. But protecting the prior damage. The greatest danger is sitting before the computer finally. While Web sites may store files locally, can significantly reduce the network traffic because AJAX and other views are cached. The caching of the site itself is like this but have little effect. The AppCaching development environment provides so that parts of the page are cached locally.

  5. #5
    Join Date
    Jul 2010
    Posts
    15

    Re: FileReader API and FileWriter API in HTML5

    On the one hand, the necessary Reloads minimized and the other sites are possible to continue to work without an active Internet connection. Even now pages with HTML tags are equipped headers that such caching can make a - JavaScript and CSS enhancements (Cascading Style Sheets) which are not covered. The AppCaching API therefore generates its own charge for each page directory where all the important sides are listed, and passes it to the browser for reading. Condition is the following entry in the header code:
    Code:
    <html manifest="page.manifest">
    The browser then looks to the charging list and treated together all the recorded files as a unit. Once the loading directory changes, the browser reloads the entire site. The API addresses the elements differently: How can server-side views of CGI functions such as a separate part of the list will be outsourced, to prevent them from caching. Also there is a general fallback section, listed in the instructions in the event, are that certain parts can not be cached. Thus, for example, specifying where alternative icons for unavailable images.

  6. #6
    Join Date
    Apr 2008
    Posts
    264

    Re: FileReader API and FileWriter API in HTML5

    Of all the specifications that the World Wide Web Consortium W3C's HTML5 draft to submit to, computers is the possibility of online data on their home to store, the most technically exciting. At the beginning of the era, these browser-access programs intended only as a client, which converts and displays only what you from server were given. Very quickly recognized the Program the limitation of this idea and developed a small snippets of data, without asking the sites to visitors at the computer to play and later sent back to the server. These "cookies" are nothing more than tiny text files that contain information about the surfer, which can be read at the next visit a particular site from the browser. Resistance quickly formed against spying of the surfing habits: Cookies are deleted more frequently or equal to all blocked. The possibilities of the developers were therefore still very limited.

    To solve the problem and help browser-based software on its way, be eligible to take JavaScript programmer, says new HTML specification is now adequate amounts of data on a local machine. In order to take a larger cache is created for information about the user can access the websites. Second, users can web pages locally store and installable desktop software obsolete do with it. After all, the browser only once a full read and write access to the hard drive, there is little reason alone desktop applications to install - it's as good as anything on the Web.

  7. #7
    Join Date
    Apr 2008
    Posts
    242

    Re: FileReader API and FileWriter API in HTML5

    The real benefits of the new local storage object, the almost same as the session storage object looks like, but completely different works. Where sessionStorage forgets can remember local storage. retained data even though the browser is closed and the computer shuts down. Even more: If a Web site in two windows simultaneously active, the locally stored data is shared. A change in the code, which is accessed by just one window, change the data of the other. The HTML5 specification states that an event "storage change" in a window immediately affect all windows. Some browsers support this approach for some time, some of them only for tabbed browsing, some also include various windows of time. Since there are no mandatory standards, the implementation is still far from complete.

Similar Threads

  1. Is it worth to go for HTML5 right now
    By klinsmann in forum Software Development
    Replies: 8
    Last Post: 27-11-2013, 02:16 PM
  2. HTML4 vs. HTML5
    By Deandre in forum Polls & Voting
    Replies: 2
    Last Post: 30-03-2011, 12:11 PM
  3. HTML5 WebSocket
    By Bruno007 in forum Software Development
    Replies: 2
    Last Post: 14-12-2010, 06:49 AM
  4. Want to know about html5
    By Charites in forum Windows Software
    Replies: 3
    Last Post: 22-11-2010, 02:29 PM
  5. What is filewriter in java?
    By Aloke in forum Software Development
    Replies: 4
    Last Post: 30-11-2009, 10:31 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,657,721.43336 seconds with 17 queries