List of posts with tag: Yii Framework 2
-
Yii2, login with Facebook, quick start guide
Before we begin, let us see once more what authentication and authorization are, because many people confuse these concepts (and I am not an exception).
Authentication - confirmation of the authenticity of something or someone for that or whom he is trying to give himself away, with the help of some unique information, in our case - with a login and password.
Authorization is the verification and determination of the authority to perform certain actions (for example, viewing data) in accordance with the previously performed authentication.
Facebook will authenticate the user and then the site will authorize or register (if necessary) the user according to data from Facebook.
Thus, we will simplify the user to enter the site instead of entering the username and password it will be enough to press one button - "login with Facebook".
March 18, 2019 0 9254 Egor Yii Framework 2, yii2, Facebook
-
Short instruction. How to install Yii2 advanced
Short instruction on how to install Yii 2 advanced in Windows on OpenServer.
Because The instruction is brief, then a detailed description of what the commands do in the instruction will be omitted.
July 25, 2017 0 2009 Egor yii2, Yii Framework 2, yii2 advanced, Install, OpenServer, Windows
-
Yii2 basic, authorization and registration via the database
A simple example of fine-tuning Yii2 basic for authorization via the database, adding registration and resetting the password.
July 24, 2017 0 17694 Egor Yii Framework 2, yii2, yii2 basic
-
Yii2. Working with multiple databases
A simple example of working with several databases in Yii framework 2.
June 13, 2017 0 5820 Egor yii2, Yii Framework 2, Database
-
Vagrant PHP Yii2 or how not to bother with the peculiarities of its OS to customize the development environment
A little bit about Vagrant. For me, the most convenient operating system for PHP development is Ubuntu. Here all the software is free, easy to configure, lots of documentation, etc. But if you have to work with other OSes (Windows, Mac, etc.) sometimes, you encounter problems installing one or another module or plugin for PHP. Vagrant helps a lot to get around this rake the tenth way. How it is done and what advantages Vagrant has - read in the article. We will install Vagrant for development on PHP and install Vagrant to work with Yii2 advanced.
June 11, 2017 0 3054 Egor PHP, Yii Framework 2, yii2, Vagrant
-
Yii2, feedback form in a modal window
An example of implementing a feedback form in a modal window using the standard form from the contacts page.
April 18, 2017 0 8903 Egor Yii Framework 2, yii2, Bootstrap
-
Yii 2, sending mail through SMTP
Simple instruction by sending mail to Yii 2 (basic, advanced) via SMTP
December 20, 2016 0 7482 Alex Yii Framework 2, yii2, mail
-
Elasticsearch. Update, delete a document
Elasticsearch. Part 7, update, delete a document in Elasticsearch. Previous part: Elasticsearch. Highlight search results.
July 10, 2016 0 3391 Egor Elasticsearch, PHP, Yii Framework 2, yii2
-
Elasticsearch. Highlight search results
Elasticsearch. Part 6, highlighting search results in Elasticsearch. Previous part: Elasticsearch. Full-text search.
Often the need to allocate a search phrase in the search results. Elasticsearch has built-in mechanisms for the selection and framing of the search result to HTML tags. An example of the highlighting of search results in Elasticsearch using CURL, PHP and Yii2.
July 2, 2016 0 3862 Egor Elasticsearch, PHP, Yii Framework 2, yii2
-
Elasticsearch. Full-text search
Elasticsearch. Part 5, full-text search in Elasticsearch. Previous part: Elasticsearch. Search, filters - Query DSL.
Example full-text search in Elasticsearch with help CURL, PHP and Yii2.
June 23, 2016 0 2374 Egor Elasticsearch, PHP, Yii Framework 2, yii2
-
Elasticsearch. Search, filters - Query DSL
Elasticsearch. Part 4, use the filter to search Elasticsearch. Previous part: Elasticsearch. Retrieving data.
An example of the use of filters to search in Elasticsearch with help CURL, PHP и Yii2.
June 22, 2016 0 2899 Egor Elasticsearch, PHP, Yii Framework 2, yii2
-
Elasticsearch. Retrieving data
Elasticsearch. Part 3, how to get the data in Elasticsearch. Previous part: Elasticsearch. Adding data (indexing).
Example of get data Elasticsearch with help CURL, PHP and Yii2. This article will be reviewed example of retrieving of data with help Id, search data and getting data over the filter, search and getting of all data.
June 15, 2016 0 2757 Egor Elasticsearch, PHP, Yii Framework 2, yii2
-
Elasticsearch. Adding data (indexing)
Elasticsearch. Part 2, the addition of data in Elasticsearch. Previous part: Elasticsearch. What is Elasticsearch and how to install it.
Example of adding data with help CURL, PHP and Yii2.
June 14, 2016 0 2877 Egor Elasticsearch, PHP, Yii Framework 2, yii2
-
.htaccess for Yii 2 basic
Setting .htaccess for Yii2 basic. Or how to remove web from the URL in Yii 2 basic.
April 27, 2016 0 34158 Egor Yii Framework 2, yii2, .htaccess
-
.htaccess for Yii 2 advanced
Setting .htaccess for Yii2 advanced in Windows using Open Server. On the server with the unix system a .htaccess will work too, is checked.
April 27, 2016 0 28739 Egor Yii Framework 2, yii2, .htaccess
-
Yii Framework 2. Get the current controller name, action, module
A simple example of code for Yii2, how get the name of the current controller, action or module.
April 26, 2016 0 14773 devreadwrite.com Yii Framework 2, yii2
-
WYSIWYG text editor Imperavi for Yii
I was looking for an easy and quick wysiwyg editor. Basic requirements for the editor are: text formatting, uploading images and processing of it, working with tables and cross-browser compatibility. In the process of looking, I found Imperavi editor that met all my requirements.
As it turned out later Yii community bought the OEM-licensed and now if you are using Yii Framework in your project you can free use Imperavi Redactor in it. And so proceed to the include editor in Yii.
Imperavi Redactor is set in the project on the Yii Framework as an extension and works as widget.
February 18, 2016 0 4844 Egor Yii Framework, Yii Framework 2, yii2, Yii extensions, widget, WYSIWYG