This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
kararas_iris
Watch
1
Star
0
Fork
0
You've already forked kararas_iris
mirror of
https://github.com/kataras/iris.git
synced
2025-12-17 09:57:01 +00:00
Code
Releases
Activity
Files
617258890e01dd40c6c972555675610ef86e64e4
kararas_iris
/
mvc
History
Gerasimos (Makis) Maropoulos
617258890e
add
GetRoute
for MVC Controllers. Give the chance to change rsome route's properties like Name (used for reverse routing in templates, optionally).
...
Former-commit-id: 5ee9b1f97ff3c98cd8e5faddd23a87bbafb8e2e0
2017-12-30 22:04:26 +02:00
..
AUTHORS
create a new package, name it as hero, I was thinking super or superb but hero is better name for what it does - the goal is to split the new 'mvc handlers' from the mvc system because they are not the same, users should know that they can use these type of rich binded handlers without controllers as well, like a normal handler and that I implemented here, the old files exist on the mvc package but will be removed at the next commit, I have to decide if we want type aliases for Result or no
2017-12-25 20:05:32 +02:00
controller_handle_test.go
add
GetRoute
for MVC Controllers. Give the chance to change rsome route's properties like Name (used for reverse routing in templates, optionally).
2017-12-30 22:04:26 +02:00
controller_method_parser.go
don't create a new controller instance if it doesn't have struct dependencies and the fields length is 0 - 0.4MB/s difference from the raw handlers now.
2017-12-16 17:57:20 +02:00
controller_method_result_test.go
Replace controller's .Register with .Handle and AddDependencies with .Register in order to be aligned with the 'hero' package, all examples and docs are updated, it's crazy how I can't stop even on Christmas
2017-12-27 04:15:41 +02:00
controller_test.go
fix examples link in the /mvc and a controller test
2017-12-27 04:20:42 +02:00
controller.go
add
GetRoute
for MVC Controllers. Give the chance to change rsome route's properties like Name (used for reverse routing in templates, optionally).
2017-12-30 22:04:26 +02:00
go19.go
split of the mvc and the new hero package is completed, now handlers with input and output binding feature is a different feature than the mvc, however the mvc controller's methods can use the hero dependency injection as before (v10+)
2017-12-25 20:57:04 +02:00
LICENSE
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
2017-12-16 06:38:28 +02:00
mvc.go
add sharable package-level hero dependencies with the mvc controllers instances
2017-12-27 15:09:52 +02:00
param.go
split of the mvc and the new hero package is completed, now handlers with input and output binding feature is a different feature than the mvc, however the mvc controller's methods can use the hero dependency injection as before (v10+)
2017-12-25 20:57:04 +02:00
reflect.go
split of the mvc and the new hero package is completed, now handlers with input and output binding feature is a different feature than the mvc, however the mvc controller's methods can use the hero dependency injection as before (v10+)
2017-12-25 20:57:04 +02:00
session_controller.go
Replace controller's .Register with .Handle and AddDependencies with .Register in order to be aligned with the 'hero' package, all examples and docs are updated, it's crazy how I can't stop even on Christmas
2017-12-27 04:15:41 +02:00