Answer the question
In order to leave comments, you need to log in
What classes should be in the news CRUD test?
We were asked to make an admin panel with CRUD news and a user with a list and view of each news.
Frameworks were forbidden to take. List what classes you need to create (parent and child)?
Maybe some PSR interfaces need to be implemented?
Answer the question
In order to leave comments, you need to log in
There should be classes that show your knowledge of OOP and the ability to complete the task.
frameworks are not for those who do not know how to do it differently... but for those whose time is expensive to implement a framework every time.
I understand that it didn't even occur to you to offer a self-written frame of your favorite fv in the test task?
News class for a single news item, methods:
- getNews
- addNews
- editNews
- deleteNews NewsList
class for a news list, methods:
- getNewsList
...eg.
In fact, this task will differ from the task on the framework in that you need to create your own base classes for routing, authorization, models and controllers. It's just that it will be 5 times more simplified compared to the framework - without abstractions for every sneeze) well, or use packages for some tasks - beautiful routing from scratch is not so easy to write
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question