The download is free, but we offer some paid services. Support us by subscribing
Delete ads and speed up browsing the library.
The download starts with the click of a button without waiting for the book to be ready.
No limits for download times.
You can upload unlimited books in the library.
Enable readers to download your books without waiting.
Delete ads on the books that you publish.
No problems with download links for your uploaded books.
Copyright reserved
The book cannot be previewed or downloaded in order to preserve the copyright of the author and publishing house
Not available digitally or on paper through the Noor Library, it is for rating and review
| Author: | G. Engebreth, S. Sahu |
| Category: | PHP Programming Language [Edit] |
| Language: | English |
| Publisher: | Apress |
| ISBN: | 9781484280812 |
| Release Date: | 01 Jan 2023 |
| Pages: | 335 |
| Rank: | 427,350 No 1 most popular |
| Short link: | Copy |
| More books like this book | |
The Publisher and not the author Book PHP 8 Basics. For Programming and Web Development .
مطور برمجيات
يتناول هذا العمل لغة PHP في إصدارها الثامن، بدءاً من تهيئة بيئة التطوير باستخدام منصة Docker وأداة Docker-Compose لإدارة الحاويات عبر ملفات YAML، مع دمج خادم الويب Nginx ونظام إدارة قواعد البيانات MySQL. ويستعرض القواعد الأساسية للبرمجة مثل تسمية المتغيرات التي تبدأ بعلامة $، واستخدام الأمر echo للمخرجات، وتفعيل تقارير الأخطاء عبر الدالة error_reporting(E_ALL) وini_set("display_errors", 1) لتسهيل عملية التصحيح البرمجي.
يفصل الكتاب أنواع البيانات في اللغة، مقسماً إياها إلى أنواع قياسية (Scalar) مثل Boolean وInteger وFloat والسلاسل النصية التي تُعرف بطرق متنوعة منها Heredoc وNowdoc، وأنواع مركبة (Compound) تشمل المصفوفات والكائنات، بالإضافة إلى الأنواع الخاصة مثل NULL وResource. كما يخصص مساحة واسعة لدوال معالجة النصوص مثل substr() وstrpos()، ودوال المصفوفات المتقدمة مثل array_flip() وarray_intersect() وعمليات الفرز والترتيب.
يركز النص على البرمجة كائنية التوجه (OOP) من خلال شرح مفاهيم التغليف (Encapsulation) والوراثة باستخدام الكلمة المفتاحية extends، وتعدد الأشكال عبر الفئات المجردة (Abstract Classes). ويتطرق إلى أدوات تنظيمية متقدمة مثل السمات (Traits) لتجاوز محدودية الوراثة الفردية، ومساحات الأسماء (Namespaces) لمنع تضارب الأسماء، مع شرح دورة حياة الكائن عبر الدالة البنائية __construct والدالة الهدمية __destruct.
يشرح الكتاب آليات تفاعل المستخدم عبر بروتوكول HTTP، مفرقاً بين طريقتي GET وPOST في إرسال البيانات، مع التركيز على أمن المدخلات باستخدام التطهير عبر filter_var والتحقق من الأنماط بواسطة التعبيرات النمطية (Regex) ودالة preg_match. كما يقارن بين طريقتي MySQLi وPDO للربط مع قواعد البيانات، مشدداً على استخدام البيانات المجهزة (Prepared Statements) لمنع هجمات حقن SQL.
يستعرض الجزء الأخير من الكتاب أطر العمل وفق نمط التصميم Model-View-Controller (MVC)، مع شرح دور مدير الحزم Composer ومعايير PSR. ويفصل في إطار عمل Laravel من خلال استخدام Eloquent ORM ونظام Migrations ومحرك Blade، بينما يتناول إطار عمل Symfony كمنظومة من المكونات القابلة لإعادة الاستخدام مع الاعتماد على Doctrine ORM لإدارة الكيانات.
Copyright reserved
The book cannot be previewed or downloaded in order to preserve the copyright of the author and publishing house
Not available digitally or on paper through the Noor Library, it is for rating and review
أساسيات لغة بي إتش بي 8: للبرمجة وتطوير الويب هو دليل تقني مباشر يركز على الجانب التطبيقي أكثر من التنظير، حيث ينجح المؤلف في تحويل عملية تعلم اللغة من مجرد كتابة أكواد بسيطة إلى بناء بيئة عمل احترافية. أقوى ما في هذا الكتاب هو ربطه المباشر بين اللغة والأدوات الحديثة؛ فهو لا يكتفي بشرح القواعد، بل يوجه القارئ لاستخدام Docker وDocker-Compose لإدارة الحاويات عبر ملفات YAML، مما يقلل الفجوة بين التعلم المحلي والبيئة الفعلية للخوادم.
يتحرك النص بوضوح بين المستويات، بدءاً من تفاصيل دقيقة مثل الفرق بين Heredoc وNowdoc في تعريف النصوص، وصولاً إلى مفاهيم البرمجة كائنية التوجه المعقدة. لفت نظري اهتمام المؤلف بجانب الأمان، حيث لم يمرر التعامل مع النماذج مروراً عابراً، بل شدد على استخدام filter_var للتطهير وPrepared Statements لمنع هجمات حقن SQL، وهو ما يجعل القارئ يدرك مخاطر البرمجة العشوائية منذ البداية. كما أن المقارنة بين MySQLi وPDO تمنح المطور قدرة على اختيار الأداة الأنسب بناءً على احتياجات المشروع.
تجربة القراءة هنا تشبه الدورة التدريبية المكثفة؛ فهي سريعة الإيقاع، تعتمد على الأمثلة المباشرة، ولا تستهلك وقتاً في الشروحات الإنشائية. ومع ذلك، يتطلب الكتاب من القارئ صبراً في البداية عند تهيئة البيئة التطويرية، إذ يفترض وجود حد أدنى من التعامل مع سطر الأوامر، وقد يجد المبتدئ المطلق بعض الصعوبة في استيعاب مفاهيم مثل السمات (Traits) أو الفئات المجردة دون تطبيق عملي متكرر.
هذا الكتاب موجه لمن يريد الانتقال من مرحلة «كتابة السكربتات» إلى مرحلة «هندسة التطبيقات». سيستفيد منه المبرمج الذي يسعى لفهم نمط MVC والتعرف على أطر عمل مثل Laravel وSymfony، بينما قد يشعر من يبحث عن مرجع لغوي شامل ومفصل لكل دالة بالملل من سرعة انتقاله بين المواضيع.
Be the first one to Rate, Review and Quote from the book
E-books are complementary and supportive of paper books and never cancel it. With the click of a button, the e-book reaches anyone, anywhere in the world.
E-books may weaken your eyesight due to the glare of the screen. Support the book publisher by purchasing his original paper book. If you can access it and get it, do not hesitate to buy it.
Publish your book now for free
We require cookies for this site to function. Please enable them to continue.
نحن نظهر لك هذه الرسالة لأننا نحترم خصوصيتك.
By using this website, you consent to us collecting cookies to provide you with a better user experience,
more details.
You cannot browse the site since you refused the use of cookies, as the site relies primarily on them to work.
Intellectual property is reserved for the authors mentioned on the books and the library is not responsible for the ideas of the authors
Old and forgotten books that have become past to preserve Arab and Islamic heritage are published,
and books that their authors are accepted to published.
The Universal Declaration of Human Rights states: "Everyone has the right freely to participate in the cultural life of the community, to enjoy the arts and to share in scientific advancement and its benefits.Everyone has the right to the protection of the moral and material interests resulting from any scientific, literary or artistic production of which he is the author".