Tagged Questions
1
vote
1answer
173 views
Is this an MVC framework?
I have built a framework for my applications that has been working well, and I have always referred to it in my mind as an MVC. However, after reading some more on what an MVC is (not that I didn't to ...
4
votes
5answers
377 views
Most MVC-strict php framework
I have been trying to wrap my head around MVC pattern for about 6 months.I've read tons of articles, Q&A, and blog posts about MVC and HMVC patterns, but I just simply don't get it 100%.
I tried ...
0
votes
1answer
122 views
Service as a Model in MVC
I have a PHP MVC application and a file table. I need to implement the functionality: mark all as read. The best solution for the code I found so far was to put the actual implementation in a ...
0
votes
1answer
101 views
Models structure in PHP/MVC
I have some classes that are composed with ORM generated Models.
For example the Report.php (Model) is using a Document.php Model generated with ORM. Based on the document object a report is created.
...
3
votes
1answer
85 views
The Service class in MVC
From time to time I find there is a need to build a service class. Something I can't really attach inside a model in order to respected GRASP and SOLID.
So I created a class called ...
0
votes
2answers
115 views
What is a good technique to prevent unauthenticated users from accessing controller methods?
I have an event(s) controller:
class Event extends CI_Controller{
public function index(){
}
public function foo(){
}
//Shouldn't be able to use this method unless logged in
...
4
votes
2answers
306 views
Can REST API be used as business layer?
I am using PHP Codeigniter MVC design pattern
and I had this project with some sort of specific business processes
In my application I will be dealing with 2 existing REST APIs:
Google
Trello
...
5
votes
2answers
172 views
How to achieve N-Tier type in Codeigniter MVC
I know that N-Tier intended to separate layers on different network
but I would like to have the same code separation in codeigniter
I got this idea to have
Model : for database CRUD - > Data layer
...
2
votes
2answers
222 views
Codeigniter/MVC workflow
Bit of a workflow question.
I'm just staring with MVC and wondered how other people usually work in MVC? The 2 options I see is to code the model and controller completely first and then work on the ...
8
votes
3answers
216 views
Is the term 'Front-End' synonymous with 'Client-Side'? If so, is this always the case?
As a relatively new (self-taught) web developer, I've heard the terms front-end, client-side, back-end, and server-side quite often. To me, front-end and back-end were always synonymous with ...
-1
votes
1answer
190 views
Migrating from PHP to ASP .NET MVC [closed]
I plan on migrating a website from PHP to ASP .NET MVC. However, since the website is large and this migration can't be done in a short time I plan to use both MVC and PHP pages together. So the idea ...
-3
votes
1answer
261 views
Does anyone knows a good minimal php mvc framework? [closed]
I've been developing using frameworks since the last year, and is true that those pieces of software really help me and improve my development, that's until you need to fulfill your client's dreams, ...
8
votes
4answers
414 views
In MVC, can/should basic data retrieval from the Model be done in the View?
Given the concept of 'skinny controllers, fat models' and the general acceptance that Views can directly call on Models when requiring data for output, should one consider handling the 'get and ...
2
votes
2answers
315 views
Service layer design
I am developing an MVC website in PHP, and for the first time, I would like to implement a service layer. I have some design considerations I would like to get some advice on. The backend will by no ...
1
vote
3answers
281 views
mvc pattern on procedural php
First off, I do not have anything against OO programming (I'd be mad if i believed so). But I was thinking on some sort of procedural MVC pattern with PHP; let me explain better.
As we all know, ...