Answer the question
In order to leave comments, you need to log in
Phone directory yii?
Dear experts, at work I was asked to make a telephone directory using yii 1 using php and mysql databases, I compiled the structure of the database, but I can’t understand what models for the framework to make. I ask you to point me to the path of truth and suggest the direction. The possibilities of the directory are to search for a number by name, surname, patronymic city, street and house. Those. when the user enters, for example, a first name, a last name and a city, then he displays the rest of the information. It should also be possible to add and remove entries. I'm still a total noob and want to figure it out. For more clarity, I use StarUML diagram
Answer the question
In order to leave comments, you need to log in
Good morning.
First, forget about yii1, use yii2. Why forget? And here's why:
At the moment, the current version of the framework is ...
Secondly, here is the link , everything is chewed up there, how to create models, search and everything else. This is one of a series of articles.
Also a link to the official documentation.
at work I was given the task to make a telephone directory using yii 1Why on yii2? Instead of asked to use only win95 at the same time?
but what models for the framework to make I can’t understandIn yii 1 and 2 there is a code generator (GII) that can generate models based on tables in the database
For more clarity, I use StarUML diagramAnd where is she? Or are you just bragging?
I'm still a total noob and want to figure it outI advise you to read the documentation and guides to get started:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question