S
S
Sergey2015-03-23 14:38:22
Yii
Sergey, 2015-03-23 14:38:22

How to properly organize work with a font-end developer?

There was a need to connect a remote front-end developer to the project on which I am working, the project is written in php (yii framework). The question is how can I give him access to the client part so that he cannot see and edit the server part, including not having access to the database?
PHP itself is used as a template engine, so what's the point of sharing only the folder with views, if necessary, you can pull everything from there and connect to the database.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Nikolaev, 2015-03-23
@Heian

If you still do not have a dev server and a test database with test data, it's time to create them. And such restrictions greatly spoil life and development in the most unexpected moments.

E
Egor Mokeev, 2015-03-23
@zetamen

Of course, this is expensive, but still ...
You can replace real models with mock objects. A freelancer will not have a database or logic, and mock objects will come in handy when testing

S
Sergey, 2015-03-24
@frost18

Thanks for answers. I have another question, but what if you use a template engine and provide access to these templates, will this solve the problem? As far as I understand, it is impossible to execute arbitrary php code from it, but only manipulate the data that I output, will this approach be more useful or harmful?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question