Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Need ur suggestion for API

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JavaScript can not read files on a computer....
 
manjiri pax
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic