Object Relation Mapping is very powerfull thing when it comes to big projects or simply making a better code
There are some ways to invoke dynamically generated method name on object in php. Lets go though
How modern browser is getting the page render
16 version of ubuntu comes with php7.0. What to do if you want older version of php? - i have an answer
You're not always use all included files in your script and this can slow down your program.Thanks to autloading php can include files on the fly
Reflection api allows to analyze source code of php in easy way. Results of this lesson could be mainly used when speaking of constructing documentati
Dependency injection is a cool feature of powerful frameworks which helps you to do more with less effort
Handling class properties is extremely usefull when you write some cool feature like orm or your own framework
Almost every site has some repeating actions that are executed via cron. Phalcon facilitates ability to make tasks to execute with cron out from the b
Arrays in php are very powerfull and flexible data type, which helps to create complex data structures and algorithms. Nevertheless they are very simp
In this post i'd try to shortly explain where you can use your knowledge of reflection api in php
Any program is a instruction to manipulate some data in computer's memory (Manipulation over variables). In this post i'll describe the variables type
In this post i will tell you about what is web application is look like and how it works
There are few ways to save info to database via phalcon models
Sometimes there is situation when the model in phalcon won't save without any errors. Probably, I have solution for you
php as the most of programming languages give opportunity to manipulate over the flow of execution of the script
There is a joke that the hardest job in programing is to give a variable a good name. But this is quite right: names of the items can be equal and cre
With the help of the session and cookies you can provide your site authorization with the authorization features
When the program grow its a good manner to separate the code, divide it into parts. The smallest part to divide a code is a function
PHP have so called superglobal varibles which carry out much information about the enviroment and the client who create the request which is verry hel
Reading and writing to folders is cool feature. You can write down the debug information to file or find all files in the directory you want and so on
Trait is a code reuse mechanism in languages that supports single inheritance, such as PHP
git checkout remote branch
Input data to your programs can be stored in different way you represent it in you program. For example you have number value stored in string
Arrays are very powerfull mechanism in php, but it's not a best solution for the whole programming in php. Most of the problems can be solved more eff
Sometime in a hurry you can make a mistake in commit's message and need to change it before pushing to remote
Programs not always work as they should, in some cases there are errors in some place we actually don't even suppose to. So, we should be aware of tha
Every application which do something more than saying Hello world needs to store and change some information. Most of the cases application stores da
PSR stands for PHP Standarts Recommendations and give the recommendations on how to write a good code which can be used by other people
When you're already know a little bit on php's objects its time to know about extra features of classes. Magical methods - methods that every object h
Dynamically redirecting a page from current location to somewhere else can save your life sometime, check out how it could be done!
Removing a remote branch in git
git push --delete works very fast. Sometimes you even don't see you deleted some branch :)