Thursday, 16 July 2020

Part 32 CodeIgniter 4 Tutorial Series in Urdu/Hindi: Autoloading Libraries without using Composer

Hello Friends, Welcome to Part 32 of the CodeIgniter 4 Tutorial Series in Urdu/Hindi. Today in this CodeIgniter Video Tutorial, We are going to learn how to use Autoload file for Autoloading Libraries without using Composer. Every application consists of a large number of classes in many different locations. The framework provides classes for core functionality. Your application will have a number of libraries, models, and other entities to make it work. You might have third-party classes that your project is using. Keeping track of where every single file is, and hard-coding that location into your files in a series of requires() is a massive headache and very error-prone. That’s where autoloaders come in. CodeIgniter provides a very flexible autoloader that can be used with very little configuration. It can locate individual non-namespaced classes, namespaced classes that adhere to PSR4 autoloading directory structures, and will even attempt to locate classes in common directories (like Controllers, Models, etc). For performance improvement, the core CodeIgniter components have been added to the class-map. The autoloader works great by itself, but can also work with other autoloaders, like Composer, or even your own custom autoloaders, if needed. Because they’re all registered through spl_autoload_register, they work in sequence and don’t get in each other’s way. The autoloader is always active, being registered with spl_autoload_register() at the beginning of the framework’s execution. Friends, agar meri explanation main koi cheez aap ko samaj nah aa rahi ho to aap neechay comment kar saktay hain taa k main next video main pehlay usay explain karoon phir next vide tutorial ko start karoon. I read all the comments. aap twitter par be apnay questions send kar saktay hain with hashtag #pwsjlmpk k sath If you like my Work, you can pay some Bucks via the link: Our Famous Video Tutorials in Urdu / Hindi Langauge Laravel 5.4 for Beginners: Object-Oriented Programming in PHP: Laravel 5.5 New Features: HTML5 API Tutorials: Building Restful API using Lumen 5.5: Wordpress Tutorials for Absolute Beginners: WordPress and Woocommerce in English: Web Development Crash Course: If you like the video, then please do like it, then subscribe to our channel for more videos and don't forget to press the Bell Icons. اگر آپ کو ہماری ویڈیوز پسند آ رہی ہیں، تو برائے مہربانی لائک بٹن کو پریس کرنا مت بھولئےگا۔ اور اس کے بعد چینل کو سبسکرائب بھی ضرور کی جئے گا۔ اور بیل کے بٹن کو دبانا مت بھولئےگا۔ بہت بہت شکریہ यदि आप वीडियो पसंद करते हैं, तो कृपया इसे लाइक करें, फिर हमारे चैनल की अधिक वीडियो के लिए सब्स्क्राइब करे और बेल आइन्स को दबाना न भूलें। **Disclaimer**- Instructions shown in this video are used for the educational purpose of fair use. Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, Education, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use. Visit our Fan page on Facebook: Visit our Fan Page on Twitter: @pwsjlmpk our WhatsApp group: join our slack by invitation link: Visit our Official Website: via Perfect Web Solutions

No comments:

Post a comment