Gerasimos (Makis) Maropoulos
|
b78698f6c0
|
fix all _examples to the newest mvc, add comments to those examples and add a package-level .Configure in order to make it easier for new users. Add a deprecated panic if app.Controller is used with a small tutorial and future resource link so they can re-write their mvc app's definitions
Former-commit-id: bf07696041be9e3d178ce3c42ccec2df4bfdb2af
|
2017-12-20 08:33:53 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
c15763c556
|
ok make it cleaner, it's working well and blazing fast but I have to do a lot cleaning and commenting and docs as well before push it to master --- hope at christmas day, also thinking some internal ideas - the whole code is not ready to be readen by a third person yet.
Former-commit-id: 0b3fb2841d5032ff47bdca42a6f4ccfeb789ce3c
|
2017-12-19 23:40:42 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
4fb46bf1f3
|
fix mvc/ideas/1/main.go->AfterActivation
Former-commit-id: bf3d8227793fba76f0f7349d82d1200275ac9147
|
2017-12-18 02:24:53 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
d5a38a0cd6
|
more checks about creating new instance of controller on each request - this time if all bindings are static then set them to the initial-devpassed controller and if the total number of lengths are equal with these static dependencies then we ignore the injector and use the initial controller on each request - maximize the performance when simple controller is used - need more cleanup before new release but I hope until Christmas iris developers will be amazed
Former-commit-id: 32ed69368d1df2c25cdb712bb7f0cf47b2e36c05
|
2017-12-18 00:16:10 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
b8cafce6b9
|
add simple tests for _examples/mvc/hello-world and session-controller
Former-commit-id: d88a792ba57cd869d2888f41bca6eb3e5b4f7d49
|
2017-12-16 21:27:20 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
34664aa311
|
OK, my dream-idea is implemented. TODO: Some examples and doc.go is not updated yet, comments on the mvc/di subpackage, the tutorial/vuejs-todo-mvc is running but not finished yet (it's using browser's localstorage and it should be replaced by the http requests that are registered via iris mvc
Former-commit-id: 0ea7e01ce1d78bcb78b40f3b0f5c03ad7c9abaea
|
2017-12-16 06:38:28 +02:00 |
|