Commit Graph

  • e3e98377c3 Track route depth on the Request, not on the Router. v1.3.0 PJ Dietz 2013-08-16 18:59:05 -0400
  • d91ac12541 Add safeguard against infinite routing loops PJ Dietz 2013-08-16 17:49:37 -0400
  • 6013198436 Allow Routers to dispatch additional Routers PJ Dietz 2013-08-16 16:51:09 -0400
  • dbd4ff96a5 Split response into headers and body based on the size of the headers cURL reports. v1.2.2 PJ Dietz 2013-08-14 10:47:02 -0400
  • 8268daedfb Merge pull request #5 from nthdesign/master PJ Dietz 2013-06-24 18:04:45 -0700
  • 84b70f3c09 Change the name of the local variable $router to $myRouter to match the preceding code fragment. Nate Smith 2013-06-24 20:44:07 -0400
  • fef677168e Allow Request::readHttpRequest to work when apache_request_headers is not available. v1.2.1 PJ Dietz 2013-06-12 19:52:26 -0400
  • 7f4ab73048 Fix types in README.md v1.2.0 PJ Dietz 2013-05-27 14:56:53 -0400
  • ebe4021b95 Add change log PJ Dietz 2013-05-27 14:53:02 -0400
  • e693e138d0 Add support for OPTIONS and generate Allow header from Handler. Close #4 PJ Dietz 2013-05-27 14:13:16 -0400
  • fafce16e9e Update README. Add default 500 error to Router. Close #3 PJ Dietz 2013-05-27 12:59:55 -0400
  • 8aae07660c Add port to Request class. Allow user to supply cURL options. Close #2 PJ Dietz 2013-05-26 18:32:26 -0400
  • 98e04ab63b Define interfaces more clearly and clean up code. PJ Dietz 2013-05-26 14:55:48 -0400
  • ac752bb446 Add interfaces for requests and responses PJ Dietz 2013-05-23 20:26:32 -0400
  • b28b53aa11 Add interfaces for Route and Handler PJ Dietz 2013-05-23 19:49:43 -0400
  • 47ec8f5f96 Code cleanup and refactoring v1.1.2 PJ Dietz 2013-05-19 12:59:57 -0400
  • 20fb124cd5 Rewrite README PJ Dietz 2013-05-19 12:54:57 -0400
  • 3018d4c660 Fix typo v1.1.1 PJ Dietz 2013-03-29 14:00:45 -0400
  • 9863bee7f5 Set headers and headerLookup arrays in Message::__constructor to prevent warning PJ Dietz 2013-03-29 13:53:51 -0400
  • 972f8e9c26 Update Request and Response v1.1.0 PJ Dietz 2013-03-26 21:05:36 -0400
  • b0133d9173 Add license to composer.json PJ Dietz 2013-02-02 10:24:05 -0500
  • 184dae595c Add license to README Fix typos Update composer install sample code to reflect new version v1.0.0 PJ Dietz 2013-02-01 21:38:23 -0500
  • 6c58c1446b Update README.md PJ Dietz 2013-01-31 21:26:02 -0500
  • 206b7d5c2a Update README.md PJ Dietz 2013-01-31 20:46:05 -0500
  • d626b5120b Update README.md PJ Dietz 2013-01-31 20:38:23 -0500
  • cd6b78c054 Update README.md PJ Dietz 2013-01-31 20:36:37 -0500
  • 0380b1afff Update composer.json to match renamed repo PJ Dietz 2013-01-31 19:36:42 -0500
  • 6606b02f24 Update README.md PJ Dietz 2013-01-30 20:18:07 -0500
  • d0ef6a62fb Updates to documentation for better documentation generation Refactored WellrestedException to WellRESTedException PJ Dietz 2013-01-29 20:59:55 -0500
  • 4285636088 Merge branch 'master' of git://github.com/pjdietz/WellRESTed PJ Dietz 2013-01-28 22:24:54 -0500
  • e419aaba7d Add page-level doc blocks to each script Update comments Update magic accessors Update accessor and add islet and unset methods PJ Dietz 2013-01-28 22:15:33 -0500
  • 1bad8e35a0 Send headers when making a request. Add headerLines property to Message Remove invalid default value for protocol in Response PJ Dietz 2013-01-28 15:53:18 -0500
  • 0bae1c1b48 Remove last file from samples. Remove Doxygen file. PJ Dietz 2013-01-27 21:27:19 -0500
  • a44c98efb3 Fix error in Request.php where wrong namespace was used for Exceptions Remove sample APi PJ Dietz 2013-01-27 18:07:07 -0500
  • 871f76f008 Update documentation Add config file for Doxygen PJ Dietz 2013-01-27 14:14:45 -0500
  • 22db41c0e5 Rename Exceptions directory to match namespace spelling. PJ Dietz 2013-01-27 10:03:22 -0500
  • 298bdab35f Update Router and Route to require autoloading Update samples to use new Router and Route Refactor ApiSample namespace PJ Dietz 2013-01-24 21:48:44 -0500
  • 8597b9be06 Refactor for better PSR compliance. Still need to finish with samples. PJ Dietz 2013-01-24 21:27:57 -0500
  • 3ff2371edd Make specifying the path to the handler script optional in Route since it is not needed if using an autoloader. PJ Dietz 2013-01-10 21:21:57 -0500
  • 331bdae7ec Refactor library files into src/pjdietz/WellRESTed PJ Dietz 2013-01-10 20:54:22 -0500
  • 3ab7b84a51 Remove ".inc" from filenames. PJ Dietz 2013-01-10 20:28:57 -0500
  • e4972e1bf0 Refactored namespace Added autoload to composer.json PJ Dietz 2013-01-10 20:09:07 -0500
  • 2f328bb5e8 Add composer.json PJ Dietz 2013-01-10 19:45:55 -0500
  • d4f62642e7 Add case insensitive lookup for headers gathered from the request made to the server. PJ Dietz 2012-12-28 17:25:35 -0500
  • 40ca6bea87 Make field names for headers case insensitive. PJ Dietz 2012-12-27 08:41:56 -0500
  • 06717be66f Add to-do notes Request and Response. PJ Dietz 2012-12-26 19:03:49 -0500
  • 471abda822 Refactor ArticleControler to ArticleController Fix some typos PJ Dietz 2012-12-24 08:42:44 -0500
  • c788c9ee70 Move ArticleControler.php PJ Dietz 2012-12-05 16:20:28 -0500
  • 2f3ced6b8d Fix namespace error. PJ Dietz 2012-12-05 16:11:12 -0500
  • a2255bebd9 Namespace API sample. Add and update comments. PJ Dietz 2012-12-05 16:08:30 -0500
  • ff331935d2 API Sample now supports minimal GET, POST, PUT, and DELETE actions. PJ Dietz 2012-12-05 15:35:23 -0500
  • e910418ab1 Add API Sample. Demonstration API using a route table. PJ Dietz 2012-12-05 10:16:05 -0500
  • c51577a43a Clean up comments. Remove trailing comments after functions and classes, etc. PJ Dietz 2012-12-04 14:33:25 -0500
  • c970eee4bb Add protocol and protocolVersion members and their accessors. PJ Dietz 2012-12-04 14:27:52 -0500
  • b3f997136f Made Response->statusCode into a property and added ->reasonPhrase. PhpDoc updates. PJ Dietz 2012-11-30 16:33:04 -0500
  • 7ee4ee39b9 Base Request and Response off of base class Message PJ Dietz 2012-11-29 16:58:14 -0500
  • 85e51bbca9 Simplified samples. PJ Dietz 2012-11-29 16:10:50 -0500
  • bb44b27787 Fix comments. Work on sample scripts. PJ Dietz 2012-11-29 15:47:10 -0500
  • 4d0fee6dc9 Remove the uri member variable from Request and make it a pure property. Add setHeader() and hasHeader() methods to Request. PJ Dietz 2012-11-29 15:40:05 -0500
  • 7c76ddb010 Fix comments. PJ Dietz 2012-11-29 14:56:04 -0500
  • 34ed07f4a0 Updates to Request Add client-side sample PJ Dietz 2012-11-29 14:41:32 -0500
  • 0052ecd455 Add custom exceptions. PJ Dietz 2012-11-29 14:40:46 -0500
  • d168265700 Updates to Request class, including adding the request() method for cURL access to resources. PJ Dietz 2012-11-27 16:57:27 -0500
  • 66be033022 Beginning to work on the client-side sample. PJ Dietz 2012-11-27 12:25:53 -0500
  • e5a085ff48 Add first sample. Update PPP for one method. PJ Dietz 2012-11-26 12:45:39 -0500
  • 87a3c063da Added Response::getStatusLine() function. This makes it more extensible and compatible with PHP 5.3. PJ Dietz 2012-10-01 20:06:14 -0400
  • ef31fd7292 Router can return a default 404 response when no routes match the request. Add functionality to Request to carve up a URI and set the corresponding members. PJ Dietz 2012-09-23 18:43:52 -0400
  • 4c0434399a Code cleanup. PJ Dietz 2012-09-16 22:44:29 -0400
  • 5af80d8b1d Move some logic from Router to Route for easier subclassing and better OOP principles. Add comments and PHPDoc blocks. PJ Dietz 2012-09-16 22:31:25 -0400
  • 37b75d69d1 Commenting and tidying. PJ Dietz 2012-09-08 19:46:11 -0400
  • 44b6e9b118 Change the way Handler goes about building the response. This now happen in the constructor, and Handler::getResponse() returns the Response instance instead of using Handler::respond to trigger the response. PJ Dietz 2012-09-08 16:56:54 -0400
  • 6664c73605 Added Handler, Router, and Route classes. PJ Dietz 2012-09-03 14:02:49 -0400
  • 81dd2c3f1c Add Response class for building HTTP responses. PJ Dietz 2012-08-23 15:39:12 -0400
  • 0c94052d78 Build Request class to provide the following items from the HTTP request: - body - headers - method - path - query PJ Dietz 2012-08-23 14:34:15 -0400
  • 76cde65046 Added dummy files. PJ Dietz 2012-08-20 21:00:25 -0400
  • 6a425c03d6 Initial commit PJ Dietz 2012-08-20 17:34:37 -0700