stephanediondev / readerself

Replaced by a new version
https://github.com/stephanediondev/feed
Other
158 stars 26 forks source link

Move away from CodeIgniter #8

Closed EliasZ closed 11 years ago

stephanediondev commented 11 years ago

Any suggestions for a framework ?

MVC libraries (form validation, database abstraction, pagination, session) helpers (url, form output) hooks input management language management controllers related to url (don't want to declare all routes)

EliasZ commented 11 years ago

Laravel.

~ sent from a mobile device

Stéphane Dion notifications@github.com wrote:

Any suggestions for a framework ?

MVC libraries (form validation, database abstraction, pagination, session) helpers (url, form output) hooks input management language management controllers related to url (don't want to declare all routes)

— Reply to this email directly or view it on GitHub.

stephanediondev commented 11 years ago

Maybe one day if I find quickly how to make code below with Laravel, without route definition

/anyController/anyMethod/anyParameter

class anyController extends CI_Controller { function anyMethod(anyParameter) { } }

EliasZ commented 11 years ago

This used to be possible in < Laravel 4, but the functionality has been removed because it is bad practice and unreliable. See this Stackoverflow thread its answers to learn why.

stephanediondev commented 11 years ago

Ok I will try Laravel more But I can't imagine to declare all controllers in bigger projects => 30 or more

I'm not sure CodeIgniter "will go through your filesystem and return controller files" If you call an URL not in declared routes, CI tests if there is a controller file That's all, no order problem in routes

I use routes only for specific pages/rewrites, not related with controllers files

stephanediondev commented 11 years ago

Ok I tried it seems that you need also to declare custom methods I can't stay with index, create, store, show, edit, update and destroy

I need import, export, check, refresh, confirm...

Laravel isn't for me