i've been asked build app communicates set of linux servers, each of connected piece of test equipment. think of 1 place see stats n different instances of same piece of test equipment.
these stats generated (every 1 second), , update rate presentation. app's job, therefore, present unified view of information pieces of test equipment such suits can see whenever they'd have look.
notwithstanding complexities of last part of requirement, i'm looking sample code can use understand network coding on ios. i'm experienced socket programming in linux.
have protocol have comply udp-based, know ip address , port numbers can use, know how implement protocol @ behavioral level. protocol quite simple limited number of commands/responses.
don't know how stuff on ios. there examples beyond apple sample code (i'm looking @ witap , mvcnetworking examples right now)? gotchas should looking out for? idioms useful?
know it's pretty open ended question, i'm appreciative of can provide.
here's how i'd this.
write data-summarizer runs on linux. uses required udp protocol, , contacts servers. updates every second, or like. since know how on linux (as interpret post), shouldn't hard going.
writes single file, in json text. serves file using simple http service. or puts json file onto existing http server, @ designated url.
can write simple web app resides on same http server, , uses javascript read summarized-data file, parse it, , display results using html, css, , javascript. xmlhttprequest*javascript*object play pivotal role in this.
if write summarized-data file xml instead of json, xmlhttprequest parse file you. not it's hard find json parsers.
1 advantage of plain ordinary web app sufficiently capable web browser able display page. , bar "sufficiently capable" won't hard meet. won't limited ios devices, either.
other advantages won't have approval apple distribute (or update) app, , company won't have buy enterprise developer account.
Forums iPhone, iPad, and iPod Touch iOS Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
No comments:
Post a Comment