Posted on April 24, 2019, 4:46 pm, by admin, under
laravel.
If you already have Laravel move to Step 2 Step 1. Get Laravel composer create-project –prefer-dist laravel/laravel . Step 2. Create following folder structure: mkdir -p packages/aghayevi/modulename/src Step 3. Do the following cd packages/aghayev/modulename composer init This command will guide you through creating your composer.json config. Package name (<vendor>/<name>) [root/modulename]: aghayevi/modulename Description []: […]
Posted on April 18, 2019, 8:28 am, by admin, under
php.
In short, in case of full abstraction of methods you want to define use interface, in case of partial abstraction, if some methods you want to define are common among concrete classes but some are not then use abstract class Abstract class can have definitions of constants, abstract methods or method stubs (methods without body/implementation) […]
A1 Injection (PHP include, global variables, Sql Injection through Url) A2 Broken authentication (To avoid broken authentication put into practice not leaving the login page for admins publicly accessible. Rename /wp-admin/ on WordPress to something else. Rename /admin in Magento to something else) A3 Sensitive data exposure (arp spoofing resulting traffic sniffing, stealing auth passwords, […]
Posted on April 16, 2019, 3:48 pm, by admin, under
php.
3 Main types of object oriented programming Creational, structural and behavioral patterns. Only these types are general because they address interactions with objects used within programming: object creation, object composition, and object interaction. Можно провести параллель с человеком если рассматривать человека с позиции Высшего Разума – человек был создан (creational), потом организована инфраструктура для деятельности […]
Posted on April 12, 2019, 12:02 pm, by admin, under
linux.
Applications -> System Settings -> Brightness & Lock -> Lock On/Off