Today I will tell you how to create custom directive in angularjs. In our app custom directive will be html from for edit user personal info. Angular "learns" browsers new tags or attributes with directives. It has a large set of build-in directives, which we have...
PHP + MySQL
Create php MVC app. Get all users
In this tutorial we will begin to make management users section. Our task today will be to select all users from database with their roles. We will make select from two tables, that's why we must use INNER JOIN SQL operator...
Create php MVC application. Edit profile
In this lesson we will make edit profile in our cabinet application - change login, email and password. In this tutorial we will again use angularjs. And we will write UPDATE sql queries....
Create php MVC app. Angular js – edit and delete product from app
In last lesson we began using angular js in our app. Today we continue to write angular code - we will make edit and delete functions in our app. For the server connection we use $http build-in angular service. In homework I suggest you to write add product function...
Create php MVC application. Use angularjs
Today we will begin to use angular in our project. We will make reading data about products from database using angularjs Also I notice, we need angular-route. Make sure, you use the same version of angular and angular route. If you forget angular, you may see my...
Create php MVC application. Upload CSV file
One of subscribers asked me to shoe CSV file uploading and handling it in our app. In this lesson we'll upload CSV file, read data from it and record data from file to application database While uploading any type of file to the server we must notice several key...
Create php mvc app. Routing refactoring
After a long timeout I recorded a new tutorial in which we would make routnig refactoring. The reason of it is our application url structure. After refactoring our routing will be more flexible, will to handle url paths and GET parameters....
Create PHP MVC application. Sessions. Get all orders
We continue to make our simple php mvc application and today we will add sessions mechanism to our application to avoid access to cabinet main page to unauthorized users. Also we will create method, which will get all orders from database with its detail information....
Create php MVC application. Cabinet main page
Today our task is cabinet main page making. This page requires large html coding. That's why I will use ready-to-use html template because I want to draw your attention to the more important tasks for you. You can download template by this link. After page template...