Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Doc: Fixed some typos

  • Loading branch information...
commit a477905270e2060123ce4f1e31900a0d51531277 1 parent 0eff818
@canol canol authored
View
6 doc/applications.texi
@@ -13,7 +13,7 @@
An application is the root of a buildable object tree composing the user interface. Applications are used to dispatch requests to other buildables, typically widgets (@pxref{Widgets}), and hold their state. Unlike widgets they don't have one building method but several @dfn{controller methods} used to dispatch requests to the right buildable object.
-Applications instances are handled by the framework. Iliad stores one instance of an application class per session, which will persist through requests.
+Application instances are handled by the framework. Iliad stores one instance of an application class per session, which will persist through requests.
@node The base path
@section The base path
@@ -112,7 +112,7 @@ To persist through requests, widgets must be stored in instance variables. In th
@cindex selector filter
@cindex selectorFilter:
-The use of a method of an application as a controller methods is restricted by the @dfn{selector filter}. Each application class has its own selector filter.
+The use of a method of an application as a controller method is restricted by the @dfn{selector filter}. Each application class has its own selector filter.
Each time an application dispatches a request to a controller method, the selector filter block is evaluated against a selector to determine if the corresponding method is allowed to be used as controller or not. The default selector filter allows all methods in the @code{'controllers'} protocol, but you may want to filter selectors differently.
The default selector filter can be overriden in the class side @code{#defaultSelectoreFilter} method, or you can plug in a new selector filter with the class side @code{#selectorFilter:}. A selector filter block must be a one argument block and answer a boolean.
@@ -133,7 +133,7 @@ During the generation of a page for a request processing, the application can up
@code{#updatePage:} should not be used to update contents of widgets included in the @code{<body>} section, as widgets may not be built yet when Iliad calls @code{#updatePage:}.
-The argument sent to @code{#updatePage:} is an instance if @code{Iliad.ILPage}. This class has accessors for both the @code{<head>} section and the @code{<body>} section of the page, respectively instances of @code{Iliad.ILHeadElement} and @code{Iliad.ILBodyElement}.
+The argument sent to @code{#updatePage:} is an instance of @code{Iliad.ILPage}. This class has accessors for both the @code{<head>} section and the @code{<body>} section of the page, respectively instances of @code{Iliad.ILHeadElement} and @code{Iliad.ILBodyElement}.
@example
updatePage: aPage [
View
2  doc/downloadAndInstall.texi
@@ -107,7 +107,7 @@ st> processor activeProcess suspend
@unnumberedsubsubsec With gst-remote
-You can create a bash script and use it to load the desired packages and start iliad:
+You can create a bash script and use it to load the desired packages and start Iliad:
@example
#!/bin/bash
View
8 doc/elements.texi
@@ -41,7 +41,7 @@ p [
@unnumberedsubsec The HTML API
-Each element in the tree represents a given HTML tag. Each attribute of an element has a corresponding HTML tag attribute. We compose HMTL by combining the two kind of methods.
+Each element in the tree represents a given HTML tag. Each attribute of an element has a corresponding HTML tag attribute. We compose HTML by combining the two kind of methods.
As methods are named depending on the HTML tag they represent, building HTML with Iliad looks very similar to actual HTML code.
The following example
@@ -133,8 +133,8 @@ And will build the following HTML code:
Buildables can do more than just build HTML. They can behave, change their state and react to user interactions through Smalltalk code evaluated in actions.
-Instead of having to parse URLs and requests, Iliad uses action objects to trigger smalltalk code when the user interacts with the page, click on a link or submit a form.
-An @dfn{action} is an Iliad object with a smalltalk block associated to an id, but we will oftenly refer to the block of an action as the action itself.
+Instead of having to parse URLs and requests, Iliad uses action objects to trigger Smalltalk code when the user interacts with the page, clicks on a link or submits a form.
+An @dfn{action} is an Iliad object with a Smalltalk block associated to an id, but we will oftenly refer to the block of an action as the action itself.
@unnumberedsubsec Actions in anchors
@@ -200,7 +200,7 @@ e form build: [:form |
@node DOM events
@section DOM events
-Iliad provides a simple API to associate javascript code to DOM events (click, focus, etc.) in the @code{accessing attributes-events} method protocol. The main method is @code{#on:add:} which takes two strings as arguments, the first one for the event, and the last one for the associated javascript code. Many shortcut methods exist for specific events, like @code{#onClick:} or @code{#onFocus:}.
+Iliad provides a simple API to associate JavaScript code to DOM events (click, focus, etc.) in the @code{accessing attributes-events} method protocol. The main method is @code{#on:add:} which takes two strings as arguments, the first one for the event, and the last one for the associated JavaScript code. Many shortcut methods exist for specific events, like @code{#onClick:} or @code{#onFocus:}.
@example
e p
View
4 doc/introduction.texi
@@ -2,9 +2,9 @@
@unnumbered Introduction
Iliad is a Smalltalk web application framework.
-Heavily based on reusable stateful widgets, Iliad lets you build powerful dynamic applications easily. It allows you to trigger smalltalk code when an user clicks on a link or submit a form instead of bothering you with low level details.
+Heavily based on reusable stateful widgets, Iliad lets you build powerful dynamic applications easily. It allows you to trigger Smalltalk code when an user clicks on a link or submits a form instead of bothering you with low level details.
@sp 1
-Thanks to its javascript layer Iliad automatically uses AJAX requests to update the client state, and it will nicely degrade to normal requests if javascript is not enabled, so you don't have to bother about that either.
+Thanks to its JavaScript layer Iliad automatically uses AJAX requests to update the client state, and it will nicely degrade to normal requests if JavaScript is not enabled, so you don't have to bother about that either.
@unnumberedsubsec Resources
Here is a short list of Iliad related resources:
Please sign in to comment.
Something went wrong with that request. Please try again.