Posts

Web Development Note

 Apache and Nginx The fundamental difference between the two is in their architecture.  NGINX has a single-threaded architecture where multiple client requests are handled in a single thread.  On the other hand, Apache has a multi-threaded architecture where one process is created for a request.

PHP Notes

  PHP Namespaces Namespaces are qualifiers that solve two different problems: They allow for better organization by grouping classes that work together to perform a task They allow the same name to be used for more than one class Reference From  https://www.w3schools.com/php/php_namespaces.asp

OOP Notes

  Abstract Classes and Methods Data  abstraction  is the process of hiding certain details and showing only essential information to the user. Abstraction can be achieved with either  abstract classes  or  interfaces  (which you will learn more about in the next chapter). The  abstract  keyword is a non-access modifier, used for classes and methods: Abstract class:  is a restricted class that cannot be used to create objects (to access it, it must be inherited from another class). Abstract method:  can only be used in an abstract class, and it does not have a body. The body is provided by the subclass (inherited from). Reference From  https://www.w3schools.com/java/java_abstract.asp

Laravel Notes By Ahmed Awan

Step to install Laravel 1) Install Composer 2) Install Laravel with composer cammand --->>>> composer create-project laravel/laravel example-app Laravel Installation Link 3) Install the Basic Blade Package Laravel have starter-kits which can use for install blade, react, Vue package url ----->>>>> https://laravel.com/docs/9.x/starter-kits 3.1) ------->>>> composer require laravel/breeze --dev 3.2) ------->>>> php artisan breeze:install php artisan breeze:install npm install npm run dev php artisan migrate To create Migration php artisan make:migration create_roles_table To create Migration php artisan make:migration create_users_table $table->id(); $table->string('name'); $table->string('email')->unique(); $table->timestamp('email_verified_at')->nullable(); $table->string('password'); $ta

Privacy Policy for English Urdu Roman Dictionary

We do not need any access of resources. We use the offline data. And Show add Banner. We dont use and collect user information.

MySQL Notes

MySQL Keywords and Queries Update Records by joins UPDATE screening, babies SET screening.baby_id = babies.id WHERE screening.baby_username = babies.baby_username MySQL Table Locking A lock is a mechanism associated with a table used to restrict the unauthorized access of the data in a table.  MySQL allows a client session to acquire a table lock explicitly to cooperate with other sessions to access the table's data . MySQL also allows table locking to prevent it from unauthorized modification into the same table during a specific period. A session in MySQL can acquire or release locks on the table only for itself. Therefore, one session cannot acquire or release table locks for other sessions. It is to note that we must have a TABLE LOCK and SELECT privileges for table locking. Table Locking in MySQL is mainly  used to solve concurrency problems . It will be used while running a transaction, i.e., first read a value from a table (database) and then write it into the table (