Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Setting a limit of 100 threads is a good place to start. That will probably translate to about 1000 requests per second, and chances are your IO will be the limiting factor before you get to that many requests anyway. 

Image Added

Bruce explained the basic structure of an HTML page. So there are controls (HTML for browses, forms etc which can be called as you would call a browse) and snippets of HTML or NetWebSource procedures which just dump in the requested HTML and can not be called directly by the user.  

...

Popups will give you a very Windowsy (Bruce actually compared it more to CPD) experience. Not search engine friendly, however.

IMG_4576.CR2

SPAs - single page applications

...

You can have your web app quickly (thin client, maybe 20 users per server) or you can do the work and make an app that can scale up to thousands of users per server. 

Browse settings

There are a whole lot of browse settings, and a whole lot of settings for each field in a browse. For display, there are really only four types: text (string), date, button and procedure. The latter means you can embed controls in browses, such as a browse of browses.  

The book

Okay, I didn't rotate the image. But the text is at a 45 degree angle anyway. No, just on the cover, not inside. 

Image Added

250 pages of NetTalk goodness! Only available to those taking the training. 

Some good explanation of session variables and their importance.

Bruce spent some time on Monday afternoon talking about Cascading Style Sheets, which you use to style your HTML page markup. Firebug is a great tool not just for seeing what's going on in the page but also for modifying CSS and seeing the results instantly. NetTalk supports JQuery's ThemeRoller. 

Image AddedMore coming later on this page..

Bruce went to the ThemeRoller site, picked a theme, made some changes, saved it, and added it to his app.

You can serve up static pages with NetTalk, and you can insert static content through the use of Net: tags. You can also add dynamic code to static pages but that's harder work for the server and generally doesn't work out well. 

More good discussion on serving text files, including the great risks in allowing the user to pass in anything more than alphanumeric characters and periods when requesting files. You could be exposing every file on your system to download.

Bruce showed a nifty trick for determining the content type used for a given file extension.

Often you'll want to send email from your web server. You can do this synchronously or asynchronously. 

Biggest thing you can do to speed up your site is probably to enable the Combine all files setting. Second best option is to pre-compress files or compress on the fly. 

As usual, tons more information was presented