4 ms·
Thanks for sharing your approach. would love to see maybe an open source version of your framework to use a starting point. I am starting work on customizing Co
by shivaas 12y ago
Thanks for sharing your approach. would love to see maybe an open source version of your framework to use a starting point. I am starting work on customizing CodeIgniter to be slim framework for serving a REST API, and your approach is going to be super helpful to learn from :)
- Joeri 12y agoThe only thing i can point to is my metaprogramming experiment: https://github.com/jsebrech/php-o https://github.com/jsebrech/php-o The way of initializing and validating data objects is quite similar to the approach we have in our production code. The missing part is the web service layer that maps the type definitions to a service description (i use reflection of phpdoc comments on a web service class to generate json and soap bindings, similar to the reflection approach in that github project). I've been meaning to pick it back up and implement both the web service and db layers to make it an all-purpose web dev framework, but i've had other side projects intervene.