Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need ur suggestion for API

 
manjiri pax
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,
i am in the process of writing the API for my application

Description:I have log files which maintains the time information of my application like at what time, which component was loaded.(trail information).
The functions written for this log files should use my API .
Now my Application can run in standalone mode as well as it has embedded browser so it can run in that mode also.
My API should be able to support the decision of which mode,and which log files are getting used?for standalone mode the process of storing the time information is different from that of browser mode.

The log files contains functions like getenviornment()=for getting enviornment,isbrowser()=for getting is it correct browser,getresult()=for getting information form log files.
so i need your suggestion as what you think which functions i need to include in this API?
i have to write this API in javascript and html.

thanx
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaScript can not read files on a computer....
 
manjiri pax
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not reading or writing in the file using javascript .Log files are maintaining the information about the timestamps for perticular operation carried out eg. time at which webpage started loading,time at which perticular function started working(eg.alert etc) using javascript(timer function) and html.
My API should aid them in doing that.log functions collects the time information using javascript functions.
so what do u think which functions my API needs to aid these log file functions .Like function to check which mode?and accordingly use log file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic