Gerasimos (Makis) Maropoulos
|
55dfd195e0
|
remove the old 'mvc' folder - examples are not changed yet - add the 'di' package inside the mvc2 package - which will be renamed to 'mvc' on the next commit - new mvc.Application and some dublications removed - The new version will be version 9 because it will contain breaking changes (not to the end-developer's controllers but to the API they register them) - get ready for 'Christmas Edition' for believers
Former-commit-id: c7114233dee90ee308c0a3e77ec2ad0c361094b8
|
2017-12-15 20:28:06 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
4e15f4ea88
|
create one generic package for dependency injection which can be used outside of Iris too - worked but unfished
Former-commit-id: a9d600321c07d7c9f39105416f14ae91528a16a3
|
2017-12-14 23:04:42 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
0b2dcc76f5
|
start of the vue + mvc example and a simple session binding
Former-commit-id: 994f00952352c93d270ad197cb843f3222fb37c0
|
2017-12-14 05:56:23 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
8dcbdc0741
|
performance close to handlers if no bindings but even if bindings except service (new feature is that we can bind functions as well) is x1.1 faster than the previous mvc implementation - make BaseController (so and C) optionally but not break the existing APIs that using iris.C or mvc.C
Former-commit-id: a26a8f836894c061e0f435df8ac1c2c534f0ee48
|
2017-12-13 06:17:28 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
257f1318c9
|
add some comments but I just released that we may not need controller's input field and we can bind directly via the targetStruct binder, next step is to implement that behavior
Former-commit-id: e2ed23e7c4f52237cf87148d9a85d01e89d479be
|
2017-12-12 14:33:39 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
689b671bf9
|
split the controller's method lexer and parser to another file to simplify the code, we need more steps to simplify it enough before pushing to master
Former-commit-id: ee968d822088bec428e4b7cee24ca7690d0bf504
|
2017-12-11 06:51:52 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
297c581e30
|
add an overview of the new semantics at the mvc2/README.md
Former-commit-id: 6efc702fd4a74787c7fe271e231de283670a25e0
|
2017-12-11 06:24:55 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
ed79f0c3cd
|
ok the new mvc system works great, all tests done and almost x3 smaller LOC used plus new three awesome features:) - next commit will be commenting out and replace the mvc package with the new mvc2
Former-commit-id: 552095d29256a1116849cc6054c82001e790e705
|
2017-12-10 07:00:51 +02:00 |
|
kataras
|
7043f352d9
|
made it work but looking for another approach
Former-commit-id: e61c4573543c57b8d6d4ef2583e40f52c391402f
|
2017-12-04 05:06:03 +02:00 |
|
kataras
|
dd5de52f34
|
implement a way to add controller functions as handlers with the existing rules respected but it's a bit dirty I will change the implementation and move the mvc2 to mvc and make the api builder's PartyFunc to be a critical part of the controller and the mvc2.Mvc bind values should be also respected to the controller and more
Former-commit-id: e452a916da80d886535b8ae9625d0ba8e2b58d6e
|
2017-11-27 21:39:57 +02:00 |
|