Development

Changeset 19866

You must first sign up to be able to contribute.

Changeset 19866

Show
Ignore:
Timestamp:
07/03/09 21:13:43 (7 months ago)
Author:
Stefan.Koopmanschap
Message:

fixing anchors in links to The Book (re #6747) for 1.1 cookbook articles

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/branches/1.1/cookbook/en/cli.txt

    r10189 r19866  
    2121>**Note**: The symfony CLI works only from the root of a symfony project 
    2222 
    23 The [symfony sandbox](http://www.symfony-project.org/book/1_1/03-Running-Symfony#Installing%20the%20Sandbox) contains executables for Windows and *nix platforms that should allow an even faster call: 
     23The [symfony sandbox](http://www.symfony-project.org/book/1_1/03-Running-Symfony#chapter_03_installing_the_sandbox) contains executables for Windows and *nix platforms that should allow an even faster call: 
    2424 
    2525    $ ./symfony <TASK> [parameters]      #  *nix 
     
    147147    $ php symfony project:deploy <SERVER_CONFIGURATION_NAME> [--go] 
    148148 
    149 Synchronises the current project with another machine (find more in [Chapter 16](http://www.symfony-project.org/book/1_1/16-Application-Management-Tools#Deploying%20Applications)).    
     149Synchronises the current project with another machine (find more in [Chapter 16](http://www.symfony-project.org/book/1_1/16-Application-Management-Tools#chapter_16_deploying_applications)).    
    150150 
    151151### Tests 
  • doc/branches/1.1/cookbook/en/pager.txt

    r19500 r19866  
    280280These parameters are never used directly by the pager. 
    281281 
    282 To learn more about custom parameters, refer to the [Chapter 2](http://www.symfony-project.org/book/1_1/02-Exploring-Symfony-s-Code#Parameter%20Holders). 
     282To learn more about custom parameters, refer to the [Chapter 2](http://www.symfony-project.org/book/1_1/02-Exploring-Symfony-s-Code#chapter_02_sub_parameter_holders). 
  • doc/branches/1.1/cookbook/en/shopping_cart.txt

    r9725 r19866  
    1010------------ 
    1111 
    12 The shopping cart classes are are not shipped with the default symfony installation, but packaged into a plugin called `sfShoppingCart`. Symfony plugins are installed via PEAR (find more about plugins in [Chapter 17](http://www.symfony-project.org/book/1_1/17-Extending-Symfony#Plug-Ins)).  
     12The shopping cart classes are are not shipped with the default symfony installation, but packaged into a plugin called `sfShoppingCart`. Symfony plugins are installed via PEAR (find more about plugins in [Chapter 17](http://www.symfony-project.org/book/1_1/17-Extending-Symfony#chapter_17_plug_ins)).  
    1313 
    1414The installation of the `sfShoppingCart` plugin is very straightforward, as described in the [plugin page](`sfShoppingCart`). You just need to type in the command line: 
     
    5959The `$user->getShoppingCart()` method will create a new shopping cart if the user doesn't already have one. 
    6060 
    61 >**Note**: if you need more information about the way to override the default `sfUser` class by a custom `myUser` class, you should read the section about **factories** in [Chapter 17](http://www.symfony-project.org/book/1_1/17-Extending-Symfony#Factories). 
     61>**Note**: if you need more information about the way to override the default `sfUser` class by a custom `myUser` class, you should read the section about **factories** in [Chapter 17](http://www.symfony-project.org/book/1_1/17-Extending-Symfony#chapter_17_factories). 
    6262 
    6363Add, modify and remove Items 
     
    207207* `->getTotal()`: Total amount of the shopping cart (sum of the quantity*price for each item) 
    208208 
    209 Shopping cart items also have a [parameter holder](http://www.symfony-project.org/book/1_1/02-Exploring-Symfony-s-Code#Parameter%20Holders). This means that you can add custom information to any item. 
     209Shopping cart items also have a [parameter holder](http://www.symfony-project.org/book/1_1/02-Exploring-Symfony-s-Code#chapter_02_sub_parameter_holders). This means that you can add custom information to any item. 
    210210 
    211211For instance, in a website that sells auto parts, the `sfShoppingCartItem` objects need to store the objects added, but also the vehicle for which the part was bought. This can be simply done by adding: 
  • doc/branches/1.1/cookbook/en/sortable.txt

    r9725 r19866  
    1414### Data structure 
    1515 
    16 For this article, the example used will be an undefined `Item` table - name it according to your needs. In order to be sortable, records need at least a `rank` field - no need for a [heap](http://en.wikipedia.org/wiki/Heap_%28data_structure%29) here since the sorting will be done by the user, not by the computer. So the data structure (to be written in the [`schema.yml`](http://www.symfony-project.org/book/1_1/08-Inside-the-Model-Layer#Symfony's%20Database%20Schema)) is simply: 
     16For this article, the example used will be an undefined `Item` table - name it according to your needs. In order to be sortable, records need at least a `rank` field - no need for a [heap](http://en.wikipedia.org/wiki/Heap_%28data_structure%29) here since the sorting will be done by the user, not by the computer. So the data structure (to be written in the [`schema.yml`](http://www.symfony-project.org/book/1_1/08-Inside-the-Model-Layer#chapter_08_symfony_s_database_schema)) is simply: 
    1717 
    1818    propel: 
     
    128128    http://localhost/sf_sandbox/web/frontend_dev.php/item 
    129129 
    130 Finally, if you want to test the ordering of items, you will need... items. Create a bunch of test items, either via a [CRUD interface](http://www.symfony-project.org/book/1_1/14-Generators#Scaffolding) or a [population file](http://www.symfony-project.org/book/1_1/16-Application-Management-Tools#Populating%20a%20Database). 
     130Finally, if you want to test the ordering of items, you will need... items. Create a bunch of test items, either via a [CRUD interface](http://www.symfony-project.org/book/1_1/14-Generators#chapter_14_code_generation_based_on_the_model) or a [population file](http://www.symfony-project.org/book/1_1/16-Application-Management-Tools#chapter_16_populating_a_database). 
    131131 
    132132Now that everything is ready, let's get started. 
     
    323323### Focus on the `sortable_element()` options 
    324324 
    325 The [Javascript helpers chapter](http://www.symfony-project.org/book/1_1/11-Ajax-Integration#Remote%20Call%20Parameters) describes the generic options of remote function calls, but this example is a good opportunity to see the ones of the `sortable_element()` in detail. 
     325The [Javascript helpers chapter](http://www.symfony-project.org/book/1_1/11-Ajax-Integration#chapter_11_remote_call_parameters) describes the generic options of remote function calls, but this example is a good opportunity to see the ones of the `sortable_element()` in detail. 
    326326 
    327327You can define a **different appearance for hovered list elements** when dragging another element over them with the `hoverclass` parameter: 
  • doc/branches/1.1/cookbook/en/syndication.txt

    r10189 r19866  
    4747    } 
    4848 
    49 If you need more details about the way to extend the model, refer to [Chapter 8](http://www.symfony-project.org/book/1_1/08-Inside-the-Model-Layer#Extending%20the%20Model). 
     49If you need more details about the way to extend the model, refer to [Chapter 8](http://www.symfony-project.org/book/1_1/08-Inside-the-Model-Layer#chapter_08_extending_the_model). 
    5050 
    5151The `routing.yml` contains the following rule: 
     
    116116    $ symfony cc 
    117117 
    118 If you want to learn more about plug-ins, how they extend the framework and how you can package the features that you use across several projects into a plug-in, refer to [Chapter 17](http://www.symfony-project.org/book/1_1/17-Extending-Symfony#Plug-Ins) of the symfony book. 
     118If you want to learn more about plug-ins, how they extend the framework and how you can package the features that you use across several projects into a plug-in, refer to [Chapter 17](http://www.symfony-project.org/book/1_1/17-Extending-Symfony#chapter_17_plug_ins) of the symfony book. 
    119119 
    120120Build the feed by hand 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.