O'Reilly logo

ThinWire™ Handbook: A Guide to Creating Effective Ajax Applications by Ted C. Howard, Joshua Gertzen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Layout Management

As you can see from the previous chapters, ThinWire greatly simplifies Web application development. Assembling a simple form is as easy as creating a Panel, creating Components, and placing the Components on the Panel, provided you specify the exact positions and sizes (in pixels) where you want to place the Components. Unfortunately, by bringing the desktop development model to the Web, we’ve also brought along the frustrations of calculating fixed pixel coordinates.

It starts out simple enough. You can make some basic assumptions about sizes and spacing between the Components, and do the calculations as you add a new Component. But what happens when you need to insert a Component in the middle of your form? Just ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required