Skip to content

Instantly share code, notes, and snippets.

@fzaninotto
Last active December 22, 2015 14:48
Show Gist options
  • Select an option

  • Save fzaninotto/6487656 to your computer and use it in GitHub Desktop.

Select an option

Save fzaninotto/6487656 to your computer and use it in GitHub Desktop.

In http://auraphp.com/manuals/v1/en/package-organization/:

First, create the package structure (just the parts we need):

...

Let us create our controller. Open your favourite editor and save the code below

...

Next, we need to create a view for the action. Paste the below code

You have to be consistent. Use either "you", or "we", but not both:

First, create the package structure (just the parts we need):

...

Let's create your controller. Open your favourite editor and save the code below

...

Next, you need to create a view for the action. Paste the below code

I personally try to avoid both "you" and "we" and use a more imperative style:

First, create the package structure (just the parts we need):

...

Next step is controller creation. Open your favourite editor and save the code below:

...

Next, create a view for the action. Paste the below code:

You will find a lot of useful writing tips there: http://www.dozuki.com/Tech_Writing

@harikt
Copy link
Copy Markdown

harikt commented Sep 9, 2013

Thank you Francois.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment