Hardware Reference
In-Depth Information
Conclusion
The activities in this chapter show a model for networked objects that's very flexible
and useful. The object is basically a browser or a server, requesting information from
the Web and extracting the information it needs, or delivering information to a client.
You can use these models in many different projects.
The advantage of these models is that they don't require
a lot of work to repurpose existing web applications. At
most, you need to write a variation of the PHP web scraper
from earlier in this chapter to summarize the relevant
information from an existing website. This flexibility makes
it easier for microcontroller enthusiasts who aren't expe-
rienced in web development to collaborate with web pro-
grammers, and vice versa. It also makes it easy to reuse
others' work if you can't find a willing collaborator.
The model has its limits, though, and in Chapter 5, you'll
see some ways to get around those limits with a different
model. Even if you're not using this model, don't forget
the troubleshooting tools mentioned here. Making simple
mock-ups of the programs on either end of a transac-
tion can make your life much easier. This is because they
let you see what should happen, and then modify what
actually is happening to match that.
X
Search WWH ::




Custom Search