Questions tagged [yii]
Yii is a high-performance, MVC architecture based, open source PHP framework best for developing Web 2.0 applications.
6 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
3
votes
2
answers
401
views
Archiving / Moving Data from one database server to another database server
I am working on an SMS marketing project based on Yii2 Framework (PHP 7.3 & MariaDb (innodb engine)) where we have to move the logs from different tables to the archive db, which is total a ...
1
vote
1
answer
85
views
Generate meta tags for paging on views, refactoring needed for 'if else'
I know this is a long code and hard to read but when i started working on this it was just a few if-s, and as time passed i added more and more and came to this. Tried refactoring it by my self and ...
2
votes
0
answers
474
views
PHP code to connect to Facebook API
I was given a tech test for a prospective job a small game that uses Facebook API to connect a user then to guess the image. The feedback from the employer was good but they said they had to modify ...
5
votes
1
answer
48k
views
Building a "LIKE" query in Yii2
This code makes an SQL query. The last andWhere() method adds a LIKE condition with one percentage sign at the right side of the ...
5
votes
3
answers
6k
views
Comparison of PHP/Yii controllers
I was recently asked to write a Question-and-Answer feature for my company's product pages using Yii 1. It was my first Yii project, and it was a little rough around the edges (Code A). However, when ...
3
votes
1
answer
107
views