Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Documentation for Version 2 #86

Closed
7 tasks done
Rican7 opened this issue Mar 28, 2013 · 0 comments
Closed
7 tasks done

Update Documentation for Version 2 #86

Rican7 opened this issue Mar 28, 2013 · 0 comments
Assignees
Milestone

Comments

@Rican7
Copy link
Member

Rican7 commented Mar 28, 2013

Issue edits ongoing.....

(reference: https://github.com/Rican7/klein.php/tree/klein-v2)

OOP Changes

  • Change simple respond examples to add:
    • An autoload require_once
    • A Klein app instanciator
    • A $app-> reference for the Klein method calls
  • Change "with" example
    • To use ( $app )
    • To have the included files reference $this with the respond calls

API Changes

Breaking

Added functionality

  • $response->onError has a new, optional "allow_duplicates" argument
  • New OPTIONS request support (make sure to document the OPTIONS route too)
  • New HEAD request support (automatic, like a GET without the "body")

Sections to Add

  • Unit testing (how and why)
  • Contributing (how, best practices, code standards, PHPDocs, etc)
@ghost ghost assigned Rican7 Mar 28, 2013
@Rican7 Rican7 closed this as completed May 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant