N
N
Nikita Ronzin2017-02-08 11:54:13
MySQL
Nikita Ronzin, 2017-02-08 11:54:13

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

3 answer(s)
M
myspace, 2017-02-08
@Ababinili

Make a couple of cruds. Read the documentation on github

D
Dmitry, 2017-02-08
@slo_nik

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.

M
Maxim Timofeev, 2017-02-08
@webinar

at work I was given the task to make a telephone directory using yii 1
Why on yii2? Instead of asked to use only win95 at the same time?
but what models for the framework to make I can’t understand
In 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 diagram
And where is she? Or are you just bragging?
I'm still a total noob and want to figure it out
I advise you to read the documentation and guides to get started:
www.yiiframework.com
www.yiiframework.com/tour
www.yiiframework.com/doc-2.0/guide-index.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question