Chapter 4. Flash Remoting Internals
I learned how to program by pulling apart existing programs and trying to figure out how they worked. This was back in 1982, when the hottest computer around was the Commodore 64. My approach was to load an existing program, run it, and then look at the code line by line. I would comment each line of the code with my observations of what the program was doing. After some practice, I got pretty good at discovering what other people’s code did. I also got pretty good at writing my own code.
The code was assembly language. Although the properties, methods, and
events of modern-day languages make it easy to accomplish complex
tasks with one or two lines of code, a simple statement like
myService.getSearchResults(
string
)
might require hundreds of lines of assembly language. Little wonder
that I went through 7,000 sheets of tractor-feed printer paper.
Despite its drawbacks, the flip side of assembly language is that it
gives you access to the core underpinnings of the software and
hardware. If you understand the assembly language, you really
understand everything the program does.
The goal of Flash Remoting is to take complex tasks and abstract them so that you, the programmer, can accomplish more with each line of code than was previously possible. But saying “it just works” isn’t very satisfying to programmers who want to understand Flash Remoting at a deeper level. Especially because sometimes it doesn’t “just work,” a deeper technical understanding ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access