Introduction to OOP in PHP: Creating and Instantiating Classes
Learn the fundamentals of object-oriented PHP by writing clean classes, instantiating objects, and applying modern coding standards to build structured applications.
-
💬
مدرب ذكاء اصطناعي
اسأل عن أي درس واحصل على إجابة واضحة فورًا، في أي وقت. -
🕐
ابدأ في أي وقت
بلا جداول أو مواعيد نهائية — تعلّم بوتيرتك، وقتما يناسبك. -
🌐
بالعربية
الدروس والمهام والشهادة — كل ذلك بلغتك بالكامل.
حول هذه الدورة
Transitioning from procedural PHP to Object-Oriented Programming (OOP) is the key to writing maintainable, professional web applications. This text-based course guides you through the core concepts of OOP, showing you exactly how to structure your code for maximum reusability.
By reading through our clear explanations and analyzing practical code snippets, you will confidently transition from writing simple scripts to designing structured PHP classes. You will understand how to model real-world data and behavior using objects, preparing you for modern PHP development practices.
What you'll learn:
- Understand the core concepts of Object-Oriented Programming, including the distinction between classes and objects
- Create PHP classes with properties and methods using modern type hinting and constructor property promotion
- Instantiate objects using the 'new' keyword and manage their state dynamically
- Apply visibility modifiers like public, private, and protected to secure your class data
- Practice writing clean, modern PHP code with strict types and standard naming conventions
You will start by exploring essential terminology and the conceptual shift from procedural code to OOP. From there, you will progress to defining your first class, declaring properties, implementing methods, and instantiating objects through structured, text-based examples.
This course is designed for beginner PHP developers who have a basic grasp of variables and functions but are new to object-oriented programming. No prior OOP experience is required.
Start reading today to unlock the power of object-oriented PHP and write cleaner, more professional code.
ما الذي ستحصل عليه
-
📜
شهادة إتمام
أضفها إلى ملفك على LinkedIn -
💬
مدرّس AI شخصي
عالق في دورة؟ اسأل مدرّسك المدمج أي شيء، في أي وقت. -
🎧
النسخة الصوتية مضمَّنة
تعلَّم أثناء تنقُّلك — دون شاشة -
♾️
وصول مدى الحياة
عُد متى شئت، بلا انتهاء -
📱
الهاتف أو الكمبيوتر
يعمل في أي مكان وعلى أي جهاز -
💸
استرداد خلال 14 يومًا
دون أسئلة -
⚡
قصير ومركَّز
3 ساعة من المحتوى التطبيقي
المراجعات
لا توجد مراجعات بعد — كن أول من يشارك تجربته.
المتعلمون أخذوا أيضًا
⚡ الأفضل للبداية
🎓 بشهادة
هندسة البرمجيات كائنية التوجه في Java
شهادة
تطبيق عملي
DH 500
→
⚡ الأفضل للبداية
🎓 بشهادة
معالجة الاستثناءات في Java: بناء تطبيقات قوية وخالية من الأعطال
شهادة
تطبيق عملي
DH 500
→
🌟 اختيار الطلاب
🎓 بشهادة
أنماط تصميم Java: بناء كود نظيف وقابل للتوسيع
شهادة
تطبيق عملي
DH 500
→
🏆 الأكثر شعبية
🎓 بشهادة
تسلسلات Java الهرمية الموجهة للكائنات والميراث
شهادة
تطبيق عملي
DH 500
→
الأسئلة الشائعة
ما الذي أحتاجه لأخذ هذه الدورة؟ +
يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.
كيف يمكنني الدفع؟ +
بالبطاقة عبر Stripe. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.
هل يمكنني استرداد المال؟ +
نعم — استرداد كامل خلال 14 يومًا، دون أسئلة.
إلى متى يستمر وصولي؟ +
إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.
هل سأحصل على شهادة؟ +
نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.
مصمَّم للعاملين في
التقنية
التصميم
المالية
التسويق
الرعاية الصحية
التعليم
الضيافة
التصنيع
×2
اشحن مرة واحدة وادفع النصف
أضف DH 1,000 واحصل على 200 رصيد، بحيث تكلف كل دورة حوالي DH 125.00. لا تنتهي صلاحية الأرصدة أبداً.
DH 1,000
200 رصيد
DH 125.00 / دورة
أفضل قيمة
DH 2,500
550 رصيد
DH 113.64 / دورة
DH 5,000
1200 رصيد
DH 104.17 / دورة
الرصيد يصلح لأي دورة ولا ينتهي.