tag:blogger.com,1999:blog-20029820278214942902024-02-02T08:23:08.865-08:00mustafa-devAnonymoushttp://www.blogger.com/profile/12802389062209938364noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-2002982027821494290.post-22539177512755023132015-09-14T23:42:00.001-07:002015-09-14T23:44:17.535-07:00تنصيب الphpmyadmin في ال centos6<div dir="rtl" style="text-align: right;" trbidi="on">
<style type="text/css">pre.cjk { font-family: "Droid Sans Fallback",monospace; }p { margin-bottom: 0.1in; line-height: 120%; }a:link { }code.cjk { font-family: "Droid Sans Fallback",monospace; }</style>
<br />
<div style="line-height: 100%; margin-bottom: 0in;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2w6a2buF4PTjKkSVAxGMu2Y-_xjRDsLL5lhEMLja8azAkCYDTCJqUqFoI6pmm91Wy5vBif7OArLojXL64-JzGz7d9N44E-29JVeADXsTywA_XRA2lr1XMttZPM-qJtZF8BHSsqEMvoxem/s1600/images.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2w6a2buF4PTjKkSVAxGMu2Y-_xjRDsLL5lhEMLja8azAkCYDTCJqUqFoI6pmm91Wy5vBif7OArLojXL64-JzGz7d9N44E-29JVeADXsTywA_XRA2lr1XMttZPM-qJtZF8BHSsqEMvoxem/s1600/images.jpeg" /></a></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: center;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div align="right" style="line-height: 100%; margin-bottom: 0in;">
<span style="font-family: FreeSans;"><span lang="hi-IN">طبعا
ريبو ستوري الخاصة بال بإتش بي ماي ادم
غير مضمنة في السنتوس إفتراضيا لذالك نحن
بحاجة لتثبيتها نقوم بتحميلها ن </span></span>
</div>
<div align="right" style="line-height: 100%; margin-bottom: 0in;">
<span style="font-family: FreeSans;"><span lang="hi-IN">خﻻل
الرابط التالي</span></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
</div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
</div>
<a name='more'></a><br />
<br />
<div dir="ltr" style="text-align: left;">
<pre class="western">wget<span style="font-family: serif;"> </span><a href="http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm">http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm</a>
</pre>
</div>
<pre class="western"></pre>
<pre class="western"></pre>
<div style="line-height: 100%; margin-bottom: 0in;">
</div>
<div align="right" style="line-height: 100%; margin-bottom: 0in;">
<span style="font-family: FreeSans;"><span lang="hi-IN">نقوم
بتثبيت الريبستوري بواسطة الامر </span></span>
</div>
<pre class="western" dir="ltr" style="text-align: left;">sudo rpm -ivh epel-release*
</pre>
<div style="line-height: 100%; margin-bottom: 0in;">
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div align="right" style="line-height: 100%; margin-bottom: 0in;">
<span style="font-family: FreeSans;"><span lang="hi-IN">والان
يمكن إستعراض الريبو المثبتة من خﻻل
الامر </span></span>
</div>
<div align="right" style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<pre class="western" dir="ltr" style="text-align: left;">yum repolist
</pre>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div align="right" style="line-height: 100%; margin-bottom: 0in;">
<span style="font-family: FreeSans;"><span lang="hi-IN">والان
بكل بساطة نقوم ب تثبيت البي اتش بي بواسطة
الامر </span></span>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<pre class="western" dir="ltr" style="text-align: left;"><code class="western">sudo yum install phpmyadmin</code></pre>
<div style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in;">
</div>
<div align="right" style="line-height: 100%; margin-bottom: 0in;">
<span style="font-family: FreeSans;"><span lang="hi-IN">الان
لم نعد بحاجة للريبو المحملة لذالك نقوم
بحذفها </span></span>
</div>
<div align="right" style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<pre class="western" dir="ltr" style="text-align: left;">rm epel-release*</pre>
<div style="line-height: 100%; margin-bottom: 0in;">
</div>
<div align="right" style="line-height: 100%; margin-bottom: 0in;">
<span style="font-family: FreeSans;"><span lang="hi-IN">والان
نقوم بإعداد البي إتش بي ماي امن نذهب
للملف </span></span>
</div>
<div align="right" style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<pre align="left" class="western"></pre>
<pre class="western" dir="ltr" style="text-align: left;"><code class="western">/etc/httpd/conf.d/phpMyAdmin.conf</code></pre>
<div align="right" style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div align="right" style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div align="right" style="line-height: 100%; margin-bottom: 0in;">
<span style="font-family: FreeSans;"><span lang="hi-IN">والان
قم بستبدال </span></span><code class="western">127.0.0.1
</code><span style="font-family: FreeSans;"><span lang="hi-IN"><code class="ctl">بعنوان
الايبي الخاص بك ثم إحفظ الملف وقم بإعادة
تشغيل السيرفر </code></span></span>
</div>
<div align="right" style="line-height: 100%; margin-bottom: 0in;">
<br /></div>
<div align="right" style="line-height: 100%; margin-bottom: 0in;">
<span style="font-family: FreeSans;"><span lang="hi-IN"><code class="ctl">ملحوظة</code></span></span><code class="western">:
</code><span style="font-family: FreeSans;"><span lang="hi-IN"><code class="ctl">عنوان
الايبي الخاص بك يتغير بشكل مستمر لذالك
تحتاج لتغير هنا كل مر ة</code></span></span></div>
</div>
Anonymoushttp://www.blogger.com/profile/12802389062209938364noreply@blogger.com0tag:blogger.com,1999:blog-2002982027821494290.post-504243280355873982015-09-14T23:22:00.002-07:002015-09-14T23:24:20.766-07:00تنصيب ال Asterisk 13 وال PJSIP في CentOS <div dir="rtl" style="text-align: right;" trbidi="on">
<style type="text/css">p { margin-bottom: 0.1in; direction: ltr; line-height: 120%; text-align: left; widows: 2; orphans: 2; }</style>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: small;"><b><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEginf_9bK4zz3wYr-__fktFYHr0fAQKTLajb4NYzX4QAF_2-zVm00kQNL3smbrv413OANEgRUc4habrJgS0xno2VALvrqTeQYtzfPs6dUcUnPvAdpDRYESpi0-spbWBWZjv79n1id4w1Gub/s1600/images.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEginf_9bK4zz3wYr-__fktFYHr0fAQKTLajb4NYzX4QAF_2-zVm00kQNL3smbrv413OANEgRUc4habrJgS0xno2VALvrqTeQYtzfPs6dUcUnPvAdpDRYESpi0-spbWBWZjv79n1id4w1Gub/s1600/images.png" /></a></b></span></div>
<div dir="rtl" style="line-height: 100%; margin-bottom: 0in; text-align: center;">
</div>
<div dir="rtl" style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-size: small;"><b><br /></b></span></div>
<div dir="rtl" style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-size: small;"><b><br /></b></span></div>
<div dir="rtl" style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-size: small;"><b><br /></b></span></div>
<div dir="rtl" style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-size: small;"><b><br /></b></span></div>
<div dir="rtl" style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-size: small;"><b><span lang="ar-SA"><span style="font-family: Courier New;">أولا
كالعادة نقوم بتنصيب الأدوات والمكتبات
الضرورية للاسترسك</span></span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b><span style="font-family: Courier New, serif;">yum
install automake bluez-libs-devel bzip2 corosynclib-devel gcc </span></b>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">gcc-c++
git gsm-devel jansson-devel libcurl-devel libedit-devel libical-devel
libogg-devel libsrtp-devel libtool-ltdl-devel libuuid-devel
libvorbis-devel libxml2-devel libxslt-devel lua-devel mariadb-devel
nano ncurses-devel neon-devel net-snmp-devel newt-devel
openldap-devel openssl-devel perl popt-devel postgresql-devel
speex-devel sqlite-devel subversion unixODBC-devel uuid-devel wget</span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b></b></span><br />
<a name='more'></a><span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-size: small;"><b><span lang="ar-SA"><span style="font-family: Courier New;">ندخل
على المسار</span></span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b><span style="font-family: Courier New, serif;">cd
/usr/src/</span></b></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-size: small;"><b><span lang="ar-SA"><span style="font-family: Courier New;">نقوم
بتحميل سورس الاسترسيك </span></span></b></span>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">wget
http://downloads.asterisk.org/pub/telephony/certified-asterisk/certified-asterisk-13.1-current.tar.gz</span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-size: small;"><b><span lang="ar-SA"><span style="font-family: Courier New;">نقوم
بتحميل سورس البيجي سيب</span></span></b></span></div>
<div align="left" style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">wget
http://www.pjsip.org/release/2.4/pjproject-2.4.tar.bz2</span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-size: small;"><b><span lang="ar-SA"><span style="font-family: Courier New;">نقوم
بفك الضغط بواسطة الأمر التالية</span></span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">bzip2
-d pjproject-2.4.tar.bz2</span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">tar
xvf pjproject-2.4.tar</span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div align="left" style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span lang="ar-SA"><span style="font-family: Courier New;">ندخل
على مسار البرنامج</span></span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">cd
pjproject-2.4</span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-size: small;"><b><span lang="ar-SA"><span style="font-family: Courier New;">نقوم
بعمل الكونفيج ثم التنصيب</span></span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b><span style="font-family: Courier New, serif;">./configure
CFLAGS="-DNDEBUG -DPJ_HAS_IPV6=1" --prefix=/usr
--libdir=/usr/lib64 --enable-shared --disable-video --disable-sound
--disable-opencore-amr</span></b></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">make
dep</span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b><span style="font-family: Courier New, serif;">make
</span></b>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">make
install</span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">ldconfig</span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-size: small;"><b><span lang="ar-SA"><span style="font-family: Courier New;">وألان
نخرج من الملف ونقوم بفك الضغط عن برنامج
الاستريسك</span></span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">cd
/usr/src</span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b><span style="font-family: Courier New, serif;">tar
zxfv certified-asterisk-13.1-current.tar.gz </span></b>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b><span style="font-family: Courier New, serif;">cd
certified-asterisk-13.1-cert2/</span></b></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-size: small;"><b><span lang="ar-SA"><span style="font-family: Courier New;">نقوم
بإعداد البرنامج قبل التنصيب</span></span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b><span style="font-family: Courier New, serif;">./bootstrap.sh</span></b></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<b><span style="font-family: Courier New, serif;">./configure
–libdir=/usr/lib64</span></b></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div dir="rtl" style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-size: small;"><b><span lang="ar-SA"><span style="font-family: Courier New;">نقوم
بعمل قائمة للموديل المطلوبة عند بداية
القاءمة ترى مجموعة من المودل تبدا بres_pjsip </span></span><span style="font-family: Courier New, serif;">
</span><span lang="ar-SA"><span style="font-family: Courier New;">إذاكانة
تحتةي على </span></span><span style="font-family: Courier New, serif;">***
</span><span lang="ar-SA"><span style="font-family: Courier New;">ععلى
يسار الاسم سيكون عليك الذهاب لمسار بيجي
و تشغيل الامر </span></span> “<i>make distclean</i>”
</b></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">make
menuselect</span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-size: small;"><b><span lang="ar-SA"><span style="font-family: Courier New;">بعد
ذالك نأتي للتنصيب</span></span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">make</span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">make
install</span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">make
samples</span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">make
config</span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-size: small;"><b><span lang="ar-SA"><span style="font-family: Courier New;">ثم
نشغل الاستريسك </span></span></b></span>
</div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">service
asterisk start</span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-size: small;"><b><span lang="ar-SA"><span style="font-family: Courier New;">الأمر
الأخير للدخول للسله الخاصة بالاستريسك</span></span></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><br /></b></span></div>
<div style="line-height: 100%; margin-bottom: 0in;">
<span style="font-size: small;"><b><span style="font-family: Courier New, serif;">asterisk
-rvvv</span></b></span></div>
<div align="left" style="line-height: 115%; margin-bottom: 0.14in;">
<span style="font-size: small;"><b><br /></b></span>
<span style="font-size: small;"><b><br /></b></span></div>
</div>
Anonymoushttp://www.blogger.com/profile/12802389062209938364noreply@blogger.com0tag:blogger.com,1999:blog-2002982027821494290.post-64936799504135177052015-06-13T04:04:00.000-07:002015-07-05T14:19:55.834-07:00كيفية تنصيب kamailio sip proxy في centos<div dir="rtl" style="text-align: right;" trbidi="on">
<div style="text-align: right;">
<style type="text/css">p { margin-bottom: 0.1in; direction: ltr; line-height: 120%; text-align: left; widows: 2; orphans: 2; }</style>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2HKUZoNqi9sApwCdFTmp4lBOsjxDTCGihQCTyRQU0bQ6CHNNfpDEXqLlTwWc0GZ5ZX6PvNgdi0KyrdWI_jDr3URIWxYSXUPs3nFT50FILq4O3_DxKS7hDfw1957Hvw5-d-R9PKBuztcKp/s1600/kamailio-os-sip-logo1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="142" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2HKUZoNqi9sApwCdFTmp4lBOsjxDTCGihQCTyRQU0bQ6CHNNfpDEXqLlTwWc0GZ5ZX6PvNgdi0KyrdWI_jDr3URIWxYSXUPs3nFT50FILq4O3_DxKS7hDfw1957Hvw5-d-R9PKBuztcKp/s320/kamailio-os-sip-logo1.png" width="320" /></a></div>
<br /></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">اليوم
سوف نقوم بتنصيب kamailio sip proxy من git مع إضافة </span></span><code>websocket</code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">حتى
تواصل خطوات التنصيب بدون مشاكل يجب أن
تكون root </span></span>, <span style="font-family: Calibri;"><span lang="ar-SA">أولا
نحتا ج لتنصيب الأدوات التالية</span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
yum
install git gcc flex bison mysql-devel make openssl-devel
libcurl-devel libxml2-devel pcre-devel libunistring flex libunistring-devel</code><br />
<code></code><br />
<a name='more'></a><code><br /></code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">بالنسبة </span></span><span style="font-family: Calibri;"><span lang="ar-SA"><code>libunistring</code> فهي غير ضرورية إذا لم تكن تريد تنصيب
إضافة </span></span><code>websocket</code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">الخطوة
الأولى</span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">ألان
عليك إنشاء ملف لتحمل عليه السورس كود من git </span></span>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
mkdir
-p /usr/local/src/kamailio-4.0</code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
cd /usr/local/src/kamailio-4.0</code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">وألان
نقوم بتحميل السوسر من git</span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
git
clone --depth 1 --no-single-branch
git://git.sip-router.org/sip-router kamailio</code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
cd kamailio</code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
git checkout -b 4.0 origin/4.0</code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">إذا
كان إصدار git لا يدعم </span></span><span style="font-family: Calibri;"><span lang="ar-SA"><code>--no-single-branch</code> قم
بحذفها </span></span>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<br />
<br /></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">إعداد
التنصيب </span></span>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">وألان
نقوم بإعداد السوسر للتنصيب</span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<div dir="ltr" style="text-align: left;">
make cfg</div>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">الخطوة
التالي هي إضافة المكتبات التي نريد
إضافتها kamailio</span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">وهنا
سنختار mysql و</span></span><span style="font-family: Calibri;"><span lang="ar-SA"><code>websocket </code> طبعا mysql لاغنا عنها أما </span></span><span style="font-family: Calibri;"><span lang="ar-SA"><code>websocket</code>
فسنستخدها لاحقا في تطبيقات الويب وإذا
لم تكن تريد العمل على مشروع ويب فهي غير
ضرورية</span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<code>
nano -w modules.lst</code></div>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">سيفتح
لنا محرر النصوص وألان قم بتغير قيمة</span></span><span style="font-family: Calibri;"><span lang="ar-SA"><code>include_modules </code> للتالي</span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<code>
include_modules=
db_mysql websocket</code></div>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">أو
يمكنك القيام بذالك من دون فتح أي ملف من
خلال الأمر التالي</span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<code>
make
include_modules="db_mysql websocket" cfg</code></div>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">وبعد
ذالك ننصب البرنامج بشكل طبيعي</span></span></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
make all</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
make install</code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<br /></div>
<br /></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">ولان
تم تنصيب ملفات التنفيذ في المسار التالي</span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<code>
/usr/local/sbin</code></div>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">وهي</span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
Kamailio
<span style="font-family: Calibri;"><span lang="ar-SA">وهو سيرفر الكمائيليو</span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<i>Kamdbctl<span style="font-family: Calibri;"><span lang="ar-SA">سيكريبت
التحكم في قواعد البيانات </span></span></i>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<i>Kamctl
<span style="font-family: Calibri;"><span lang="ar-SA">سيكربت التحكم في
سيرفرر كمائيليو</span></span></i></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<i>Sercmd
<span style="font-family: Calibri;"><span lang="ar-SA">سطر أوامر الكمائيليو
</span></span></i>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><i>المكتبات
والأدوات في موجود في المسار التالي</i></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0.19in; margin-top: 0.19in; text-align: left;">
<span style="font-family: Times New Roman, serif;"><span style="font-size: small;"><b>32-Bit</b></span></span><span style="font-family: Times New Roman, serif;"><span style="font-size: small;">
</span></span>
</div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Courier New, serif;"><span style="font-size: x-small;">/usr/local/lib/kamailio/modules/</span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Courier New, serif;"><span style="font-size: x-small;">/usr/local/lib/kamailio/modules_k/</span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0.19in; margin-top: 0.19in; text-align: left;">
<span style="font-family: Times New Roman, serif;"><span style="font-size: small;"><b>64-Bit</b></span></span><span style="font-family: Times New Roman, serif;"><span style="font-size: small;">
</span></span>
</div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Courier New, serif;"><span style="font-size: x-small;">/usr/local/lib64/kamailio/modules/</span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Courier New, serif;"><span style="font-size: x-small;">/usr/local/lib64/kamailio/modules_k/</span></span></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<br />
<br /></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">ملف
الإعداد</span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<code>
/usr/local/etc/kamailio/kamailio.cfg</code></div>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<br />
<br /></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">وألان
نأتي لتنصيب قاعدة البيانات عن طريق
تعديل ملف </span></span><code>kamctlrc</code><code></code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<code>
nano -w /usr/local/etc/kamailio/kamctlrc</code></div>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">قم
بتغير قيمة </span></span><span style="font-family: Calibri;"><span lang="ar-SA"><code>DBENGINE</code> إلىmysql </span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<code>
DBENGINE=MYSQL</code></div>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">وألان
يمكنك إنشاء قاعدة البيانات الخاصة kamailio من خلال الأمر التالي</span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<code>
/usr/local/sbin/kamdbctl create</code></div>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">وألان
نقوم بالتعديل على ملف الإعداد ليتوافق
مع الإضافات التي تم تنصيبها</span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<code>
/usr/local/etc/kamailio/kamailio.cfg</code></div>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">أضف
ألا سطر التالية إلى ملف الإعداد إذا لم
تجدها فيه</span></span></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
#!define
WITH_MYSQL</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
#!define
WITH_AUTH</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!define
WITH_USRLOCDB</code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">وألان
أبحث عن قسم </span></span>with defined <span style="font-family: Calibri;"><span lang="ar-SA">وقم
بإضافة الأسطر التالية </span></span>
</div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
#!substdef
"!MY_IP_ADDR!<SERVER_IP>!g"</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!substdef
"!MY_DOMAIN!<SERVER_IP>!g"</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!substdef
"!MY_WS_PORT!8080!g"</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!substdef
"!MY_WSS_PORT!4443!g"</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!substdef
"!MY_WS_ADDR!tcp:MY_IP_ADDR:MY_WS_PORT!g"</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!substdef
"!MY_WSS_ADDR!tls:MY_IP_ADDR:MY_WSS_PORT!g"</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<br />
<br /></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!define
WITH_WEBSOCKETS</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<br />
<br /></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">أستبدل <server_ip> بالايبي تبع الخادم</span></span></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<div dir="rtl" style="text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">أبحث
عن القسم </span></span><span style="font-family: Calibri;"><span lang="ar-SA"><span style="-webkit-text-stroke-width: 0px; background-color: #f3f3f3; color: black; display: inline !important; float: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13.1999998092651px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span class="Apple-converted-space"> </span>global parameters</span> وأضف الأسطر
التالية</span></span></div>
</div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>listen=MY_IP_ADDR</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!ifdef
WITH_WEBSOCKETS</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>listen=MY_WS_ADDR</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!ifdef
WITH_TLS</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
listen=MY_WSS_ADDR</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!endif</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!endif</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<div style="text-align: left;">
<br /></div>
<br /></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>tcp_connection_lifetime=3604</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>tcp_accept_no_cl=yes</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>tcp_rd_buf_size=16384</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>And
comment line:</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#tcp_connection_lifetime=3605</code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<br /></div>
<br /></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">أبحث
عن القسم ويب </span></span><span style="font-family: Calibri;"><span lang="ar-SA"><span style="-webkit-text-stroke-width: 0px; background-color: #f3f3f3; color: black; display: inline !important; float: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13.1999998092651px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">modules</span> وأضف الأسطر التالية</span></span></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
#!ifdef
WITH_WEBSOCKETS</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
loadmodule
"xhttp.so"</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
loadmodule
"websocket.so"</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
loadmodule
"nathelper.so"</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!endif</code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<br /></div>
<br /></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">في
قسم </span></span><span style="font-family: Calibri;"><span lang="ar-SA"><span style="-webkit-text-stroke-width: 0px; background-color: #f3f3f3; color: black; display: inline !important; float: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13.1999998092651px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span class="Apple-converted-space"> </span>setting module-specific parameters</span> اضف الاسطر
التالية </span></span>
</div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
#!ifdef
WITH_WEBSOCKETS</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
#
----- nathelper params -----#</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
modparam("nathelper|registrar",
"received_avp", "$avp(RECEIVED)")</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
#
Note: leaving NAT pings turned off here as nathelper is _only_ being
used for</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#
WebSocket connections. NAT pings are not needed as WebSockets
have</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#
their own keep-alives.</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!endif</code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<br /></div>
<br /></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">في
قسم </span></span><span style="font-family: Calibri;"><span lang="ar-SA"><i style="-webkit-text-stroke-width: 0px; background-color: #f3f3f3; color: black; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13.1999998092651px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">routing-logic</i> داخل جز ء </span></span><span style="font-family: Calibri;"><span lang="ar-SA"><span style="-webkit-text-stroke-width: 0px; background-color: #f3f3f3; color: black; display: inline !important; float: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13.1999998092651px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span class="Apple-converted-space"> </span></span><i style="-webkit-text-stroke-width: 0px; background-color: #f3f3f3; color: black; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13.1999998092651px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">request_route</i><span style="-webkit-text-stroke-width: 0px; background-color: #f3f3f3; color: black; display: inline !important; float: none; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 13.1999998092651px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span class="Apple-converted-space"> </span>we</span>
أضف الأسطر التالية</span></span></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>request_route
{</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<br />
<br /></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#
per request initial checks</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
route(REQINIT);</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<br />
<br /></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!ifdef
WITH_WEBSOCKETS</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>if
(nat_uac_test(64)) {</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> #
Do NAT traversal stuff for requests from a WebSocket</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> #
connection - even if it is not behind a NAT!</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
#
This won't be needed in the future if Kamailio and the</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> #
WebSocket client support Outbound and Path.</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
force_rport();</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
if (is_method("REGISTER")) {</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
fix_nated_register();</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> }
else {</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
fix_nated_contact();</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
if (!add_contact_alias()) {</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
xlog("L_ERR", "Error aliasing contact <$ct>\n");</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
sl_send_reply("400", "Bad Request");</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
exit;</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
}</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> }</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>}</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!endif</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
....</code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">نضيف
الأسطر التالية لقسم </span></span><b style="-webkit-text-stroke-width: 0px; background-color: #f3f3f3; color: black; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 13.1999998092651px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><i>route[WITHINDLG]</i></b></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>route[WITHINDLG]
{</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>if
(has_totag()) {</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> #
sequential request withing a dialog should</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#
take the path determined by record-routing</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
if (loose_route()) {</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!ifdef
WITH_WEBSOCKETS</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
if ($du == "") {</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
if (!handle_ruri_alias()) {</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
xlog("L_ERR", "Bad alias <$ru>\n");</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
sl_send_reply("400", "Bad Request");</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
exit;</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
}</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
}</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!endif</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>....</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<div dir="rtl" style="text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">وفي
نهاية ملف الإعداد نضيف</span></span></div>
</div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!ifdef
WITH_WEBSOCKETS</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>onreply_route
{</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>if
((($Rp == MY_WS_PORT || $Rp == MY_WSS_PORT)</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
&& !(proto == WS || proto == WSS))) {</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
xlog("L_WARN", "SIP response received on $Rp\n");</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
drop;</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
exit;</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>}</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<br />
<br /></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>if
(nat_uac_test(64)) {</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#
Do NAT traversal stuff for replies to a WebSocket connection</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#
- even if it is not behind a NAT!</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> #
This won't be needed in the future if Kamailio and the</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> #
WebSocket client support Outbound and Path.</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
add_contact_alias();</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>}</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>}</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<br />
<br /></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
event_route[xhttp:request]
{</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>set_reply_close();</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>set_reply_no_connect();</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<br />
<br /></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>if
($Rp != MY_WS_PORT</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!ifdef
WITH_TLS</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
&& $Rp != MY_WSS_PORT</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
#!endif</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>) {</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
xlog("L_WARN", "HTTP request received on $Rp\n");</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
xhttp_reply("403", "Forbidden", "",
"");</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
exit;</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>}</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<br />
<br /></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>xlog("L_DBG",
"HTTP Request Received\n");</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<br />
<br /></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<br />
<br /></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>if
($hdr(Upgrade)=~"websocket"</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
&& $hdr(Connection)=~"Upgrade"</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
&& $rm=~"GET") {</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<br />
<br /></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
#
Validate Host - make sure the client is using the correct</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> #
alias for WebSockets</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
if ($hdr(Host) == $null || !is_myself("sip:" + $hdr(Host)))
{</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
xlog("L_WARN", "Bad host $hdr(Host)\n");</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
xhttp_reply("403", "Forbidden", "",
"");</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
exit;</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> }</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<br />
<br /></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#
Optional... validate Origin - make sure the client is from an</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> #
authorised website. For example,</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
#
if ($hdr(Origin) != "http://communicator.MY_DOMAIN"</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
#
&& $hdr(Origin) != "https://communicator.MY_DOMAIN")
{</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> #
xlog("L_WARN", "Unauthorised client $hdr(Origin)\n");</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> #
xhttp_reply("403", "Forbidden", "",
"");</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#
exit;</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> #
}</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<br />
<br /></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> #
Optional... perform HTTP authentication</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<br />
<br /></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#
ws_handle_handshake() exits (no further configuration file</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> #
processing of the request) when complete.</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
if (ws_handle_handshake())</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> {</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
# Optional... cache some information about the</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
# successful connection</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
exit;</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code> }</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>}</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<br />
<br /></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>xhttp_reply("404",
"Not Found", "", "");</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>}</code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<br />
<div dir="ltr" style="text-align: left;">
<br /></div>
</div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>event_route[websocket:closed]
{</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>xlog("L_INFO",
"WebSocket connection from $si:$sp has closed\n");</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>}</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>#!endif</code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">ولان
قم بحفظ الملف وقم بكتبة السطر الاتي
للتاكد من عدم وجود اخطاء في الملف</span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<code>
kamailio
-c kamailio.cfg</code></div>
</div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">إذا
لم تحدث أخطاء يمكننا ألان تشغيل kamailio</span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">بواسطة
الأمر </span></span>kamactl start<br />
<br />
إذا حدثة معك الكثير من الاخطاء وﻻ يهمك حمل الملف جاهز من الرابط التالي وﻻكن بشرط ان ﻻتنسى تغير الservice ip<br />
<br />
<a href="https://drive.google.com/file/d/0BwZFlJlcVojPQnVEUnNKQTBVRzg/view?usp=sharing" target="_blank">kamailio.cfg</a></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">إذا
كان كل شيء على ما يرام ستكون النتيجة
كالتالي</span></span></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
Listening
on</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>udp:
192.168.1.13:5060</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
tcp: 192.168.1.13:5060</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
tcp: 192.168.1.13:8080</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>Aliases:</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
tcp: debi.local:8080</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
tcp: debi.local:5060</code></div>
<div dir="ltr" style="line-height: 115%; margin-bottom: 0.14in; text-align: left;">
<code>
udp: debi.local:5060</code></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<br />
<br /></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<br />
<br /></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA">تهانينا
لقد قمة بتنصيب kamailio بنجاح</span></span></div>
</div>
Anonymoushttp://www.blogger.com/profile/12802389062209938364noreply@blogger.com0tag:blogger.com,1999:blog-2002982027821494290.post-21622781709345676262015-06-13T00:42:00.001-07:002015-07-05T14:22:06.329-07:00كيفية تنصيب حزمة lamp (php-mysql-http ) في سيرفر centos<div dir="rtl" style="text-align: right;" trbidi="on">
<div style="text-align: right;">
<br />
<style type="text/css">p { margin-bottom: 0.1in; direction: ltr; line-height: 120%; text-align: left; widows: 2; orphans: 2; }a:link { }</style>
</div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizBkaYUH5r9xBNuhGdKWbeu9MNqEEYM4gYPr-qEKD2QM4YRiL4ttvkqGCe2ROS1fUAsIrF4GPSYtVrrwnMBIW4-5XCXGUSPhQ5L4pMFUtnk-GL-QfdFntgrbOPDOJlhTLW70pjzljkm_Fk/s1600/images.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizBkaYUH5r9xBNuhGdKWbeu9MNqEEYM4gYPr-qEKD2QM4YRiL4ttvkqGCe2ROS1fUAsIrF4GPSYtVrrwnMBIW4-5XCXGUSPhQ5L4pMFUtnk-GL-QfdFntgrbOPDOJlhTLW70pjzljkm_Fk/s1600/images.png" /></a></div>
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Liberation Serif;"><span style="font-size: small;">هذه
الخطوات تتطلب </span></span><span style="font-family: Times New Roman;"><span style="font-size: small;">أن</span></span><span style="font-family: Liberation Serif;"><span style="font-size: small;">
تكن في صلاحية root</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">خادم
الاباتشي هو برنامج مفتوح المصدر تستخدمه
حوالي </span></span></span></span><span style="font-family: Arial, serif;"><span style="font-size: small;">50%
</span></span><span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">من
الخوادم حول العالم</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">لتنصيب
الاباتشي أكتب في سطر الأوامر</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"> </span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>yum
install httpd</code></span></span></div>
</div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">عندما
يتم الانتهاء من تنصيب الاباتشي قم بتشغيله
من خلال الأمر التالي</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>sudo
service httpd start</code></span></span></div>
</div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">و
حتى تتأكد من تنصيب الخادم أكتب ip
السيرفر في متصفحك</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br />
<a name='more'></a><br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">تنصيب mysql</span></span></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>sudo
yum install mysql-server</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>sudo
service mysqld start</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">اثنا
تنصيب المايسكول سيتم سؤالك عن الموافقة
مرتين بعد الموافقة مرتين سيتم تنصيب mysql</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">بعد
أنتها التنصيب يمكنك تحديد كلمة مرور
الرووت mysql بواسطة الأمر التالي</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>sudo
/usr/bin/mysql_secure_installation</code></span></span></div>
</div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">سيتم
سؤالك عن كلمة المرور الحالية root</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">بعد
تنصيبك mysql أضغط Enter</span></span></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>Enter
current password for root (enter for none): </code></span></span>
</div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>OK,
successfully used password, moving on...<code></code></code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">سيتم
سؤالك إذا كنت تريد تعييد كلمة مرورر root أختر موافق</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">بعد
تعن كلمة المرور سيتم سؤالك عن الكثير
من الإعدادات يفضل الموافقة عليها جميعا</span></span></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>By
default, a MySQL installation has an anonymous user, allowing anyone</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>to
log into MySQL without having to have a user account created for</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>them.
This is intended only for testing, and to make the installation</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>go
a bit smoother. You should remove them before moving into a</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>production
environment.</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>Remove
anonymous users? [Y/n] y </code></span></span>
</div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>...
Success!</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>Normally,
root should only be allowed to connect from 'localhost'. This</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>ensures
that someone cannot guess at the root password from the network.</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>Disallow
root login remotely? [Y/n] y</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>...
Success!</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>By
default, MySQL comes with a database named 'test' that anyone can</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>access.
This is also intended only for testing, and should be removed</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>before
moving into a production environment.</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>Remove
test database and access to it? [Y/n] y</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>-
Dropping test database...</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>...
Success!</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>-
Removing privileges on test database...</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>...
Success!</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>Reloading
the privilege tables will ensure that all changes made so far</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>will
take effect immediately.</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>Reload
privilege tables now? [Y/n] y</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>...
Success!</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>Cleaning
up...</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>All
done! If you've completed all of the above steps, your MySQL</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>installation
should now be secure.</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>Thanks for using MySQL!</code></span></span></div>
<div dir="ltr" style="text-align: left;">
</div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">الخطوة
الثالثة تنصيب php</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">كل
ما عليك عمله هو كتابة الأمر التالي</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>sudo
yum install php php-mysql<code></code></code></span></span></div>
</div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">بعد
تنصيب ال php تبق بعض اللمسات الأخيرة
حتى يتم تشغيل الاباتشي و mysql
تلقائيا عن تشغيل السيرفر إكتب الامر
التالي</span></span></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>sudo
chkconfig httpd on</code></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>sudo
chkconfig mysqld on</code></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">ملفات
التصفح للسيرقر تكون موجوده في المسار
التالي</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;">/var/www/html/</span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">او</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;">/var/www/public_html/</span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">الان
إدخل الى المسار وأنشى صفحةphp</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;">nano
info.php</span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">وكتب
الكود التالي</span></span></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><?php</span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;">phpinf();</span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;">?></span></span></div>
<div dir="ltr" style="line-height: 100%; margin-bottom: 0in; text-align: left;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">ثم
أحفظ الملف</span></span><span style="font-family: Liberation Serif;"><span style="font-size: small;">
</span></span></span></span>
</div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">حتى
نتأكد من جميع الإعدادات قم لإعادة تشغيل
السيرفر</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<div dir="ltr" style="text-align: left;">
<span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><code>service
httpd restart</code></span></span></div>
</div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">والان
إدخل على الرابط</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<a href="http://server/"><span style="color: blue;"><span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><u>http://server</u></span></span></span><span style="color: blue;"><span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><span style="display: none;">HYPERLINK
"http://serverib/indo.php"</span></span></span></span><span style="color: blue;"><span style="font-family: Liberation Serif, serif;"><span style="font-size: small;"><u>
ib/indo.php</u></span></span></span></a></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<br /></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">ستجد
تفاصيل php</span></span></span></span></div>
<div style="line-height: 100%; margin-bottom: 0in; text-align: right;">
<span style="font-family: Calibri;"><span lang="ar-SA"><span style="font-family: Arial;"><span style="font-size: small;">تهانينا
ألان تم تنصيب حزمة اللمي في سيرفرك بنجاح</span></span></span></span></div>
<div style="line-height: 115%; margin-bottom: 0.14in; text-align: right;">
<br />
<br /></div>
</div>
Anonymoushttp://www.blogger.com/profile/12802389062209938364noreply@blogger.com0tag:blogger.com,1999:blog-2002982027821494290.post-32673992001442046992014-08-27T08:05:00.000-07:002014-12-06T22:44:02.135-08:00Object oriented JavaScript<div dir="rtl" style="text-align: right;" trbidi="on">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><span style="font-family: inherit;"><br /></span>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:RelyOnVML/>
<o:AllowPNG/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>AR-SA</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"جدول عادي";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
table.MsoTableGrid
{mso-style-name:"شبكة جدول";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-priority:59;
mso-style-unhide:no;
border:solid black 1.0pt;
mso-border-themecolor:text1;
mso-border-alt:solid black .5pt;
mso-border-themecolor:text1;
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-border-insideh:.5pt solid black;
mso-border-insideh-themecolor:text1;
mso-border-insidev:.5pt solid black;
mso-border-insidev-themecolor:text1;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1029"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
<o:rules v:ext="edit">
<o:r id="V:Rule1" type="connector" idref="#_x0000_s1026"/>
<o:r id="V:Rule2" type="connector" idref="#_x0000_s1027"/>
<o:r id="V:Rule3" type="connector" idref="#_x0000_s1028"/>
</o:rules>
</o:shapelayout></xml><![endif]-->
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifPloARRIDwFVkn_h6RbhsXFuMmw8q9VNe2MIuRGz5oIsbrNZrrwmxfe6jmd3S6kA1kbUqv3YrNAU43HU-ud_Vjq5uguCya6fbrkIkWlp0YyroQ4bj43scdKGu-nQEMKIMzrfbeZwt88Jj/s1600/JavaScript-Object-Oriented-Programming(OOPs)-Tutorial.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifPloARRIDwFVkn_h6RbhsXFuMmw8q9VNe2MIuRGz5oIsbrNZrrwmxfe6jmd3S6kA1kbUqv3YrNAU43HU-ud_Vjq5uguCya6fbrkIkWlp0YyroQ4bj43scdKGu-nQEMKIMzrfbeZwt88Jj/s1600/JavaScript-Object-Oriented-Programming(OOPs)-Tutorial.png" height="320" width="640" /></a></div>
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><span style="font-family: inherit;"><br /></span>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:RelyOnVML/>
<o:AllowPNG/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>AR-SA</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"جدول عادي";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
table.MsoTableGrid
{mso-style-name:"شبكة جدول";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-priority:59;
mso-style-unhide:no;
border:solid black 1.0pt;
mso-border-themecolor:text1;
mso-border-alt:solid black .5pt;
mso-border-themecolor:text1;
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-border-insideh:.5pt solid black;
mso-border-insideh-themecolor:text1;
mso-border-insidev:.5pt solid black;
mso-border-insidev-themecolor:text1;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1029"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
<o:rules v:ext="edit">
<o:r id="V:Rule1" type="connector" idref="#_x0000_s1026"/>
<o:r id="V:Rule2" type="connector" idref="#_x0000_s1027"/>
<o:r id="V:Rule3" type="connector" idref="#_x0000_s1028"/>
</o:rules>
</o:shapelayout></xml><![endif]-->
<br />
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">تطورت الجافا سكريبة عبر الزمن مع تطور الويب فقد تلاحظ وجود عدة model
مختلفة لل(oop<span style="font-family: inherit;">) في</span> الجافا سكربيت وهى </span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;">Classical
model</span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;">Prototypal
model </span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;">ES6 </span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">نأتي ل</span><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">Prototypal
model <span style="mso-spacerun: yes;"> </span>ولأكن قبل الدخول فيه على شرح function & object
شرح عميق بعض الشيء</span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO3MJ3Q9ER0zQE33lgR1o-a90XxZ83D_YU_k8xTKdqnliz_Hubv9kqYgPmo-ZxYR30uYbXIW3Xy5_xkzdhR4yTbU8x-gPaVM1LXoAVfWGMgFU79BTkya6zK2Kp3tX6YfUTLSkvX0gsfnmJ/s1600/objectinjs.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO3MJ3Q9ER0zQE33lgR1o-a90XxZ83D_YU_k8xTKdqnliz_Hubv9kqYgPmo-ZxYR30uYbXIW3Xy5_xkzdhR4yTbU8x-gPaVM1LXoAVfWGMgFU79BTkya6zK2Kp3tX6YfUTLSkvX0gsfnmJ/s1600/objectinjs.png" height="211" width="320" /></a></div>
<span style="font-family: inherit;"></span><br />
<a name='more'></a><span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">يتكون object في الجافا سكربيت من جدول أو لنقل مصفوفة تحتوى على
key :value والقيمة وprototype سنأتي لشرح prototype فيما بعد و ألان
دعونا <span style="mso-spacerun: yes;"> </span>نتطرق له<span style="font-family: inherit;">ا</span> في</span> classical model.</span><br />
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span></div>
</div>
<div class="MsoNormal" style="line-height: normal; text-align: right;">
<div class="MsoNormal" style="line-height: normal; text-align: right;">
<h3 style="text-align: right;">
<span style="font-family: inherit;">Prototypal
model :</span></h3>
</div>
</div>
<div class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">يتم أنشا object في Prototypal model بالطريقة التالية:</span></span></div>
<div style="text-align: right;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: right;">
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> var myClass={
val:123,
Name:'mustafa',
GetName:function(){
return this.Name;
}
}
</code></span></pre>
</div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">وألان أنشئ ملف html وأكتب
الكود التالي في ملف javascript<span style="mso-spacerun: yes;"> </span>وأستدعه<span style="mso-spacerun: yes;"> </span>في <span style="mso-spacerun: yes;"> </span>صفحة html من المتصفح كروم او فيرفوكس وكليك
يمين في الصفحة وأختار inspect element وثم أختر التبويب console واللان جرب وكتب في
سطر الأوامر أسم الكلاس</span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">النتيجة تجد انه قد طبع لك الكلاس بمحتوياته في شكل جميل</span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">وألان اكتب </span></span></div>
<div class="MsoNormal" style="line-height: normal;">
<span style="font-family: inherit;">myClass.name</span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">تجد انه يطبع قيمة المتغير إذن هكذا يتم الوصول إلى محتويات الكلاس في
الجافا سكريبت عن طريق كتابة إسم objectثم<span style="mso-spacerun: yes;">
</span>نقطة ثم أسم المتغير أو الدالة </span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">بالنسبة إلى الدوال إذاكتبة إسم الداله فقط ستحصل على undefined أو
سيطبع لك جسم الدالة أما إذا كتبة الدالة مع أقواس فسيتم تنفيذ الدالة </span></span></div>
<div dir="ltr" style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> myClass.GetName
function (){ return this.Name; }
myClass.GetName()
"mustafa"
</code></span></pre>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">كما ترى يمكننك استخدام الكلاس مباشرة بدون أن تقوم بعملية إنشاء
اوبجيكت بالنسبة constractor فمن الأفضل أن تقوم بكتابته </span></span><br />
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> بنفسك كما سنرى وألان نأتي
لعملية instantiation و inheritance.</span></span><br />
<div dir="ltr" style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
</div>
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> var myClass={
constractor:function(vale){
this._val=vale;
}
getVale:function(){
return this._vale;
}
}
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<br />
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">شرحنا this في التدوينات السابقة علامة __أمام أسم المتغير val تعنى
انه private ولا يمكن الوصول إليه مباشرة هازه
أيضا </span></span><br />
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> شرحناه في التدوينات السابقة<span style="mso-spacerun: yes;"> </span>وألان
نريد إنشاء objectمن الكلاس myclass </span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> var myObject = Object.create(myClass);
</code></span></pre>
</div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">أنشا object أسمه myobject من الكلاس myclass وألان أحفظ الملف و
اعد تحميل الصفحة <span style="mso-spacerun: yes;"> </span>أحيانناً لا يقوم
المتصفح بإعادة تحميل الصفحة لذالك<span style="mso-spacerun: yes;"> </span>أنسخ
الرابط في نافذة جديدة و أكتب في console</span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span style="color: #0080ff; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">myObject</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="color: #0080ff; mso-ansi-font-size: 9.0pt; mso-ascii-font-family: Consolas; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Consolas;">النتيجة</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: 9.75pt; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><i><span style="color: #222222; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">Object {</span></i><i><span style="color: #881391; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">constructor</span></i><i><span style="color: #222222; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">: function, </span></i><i><span style="color: #881391; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">getVale</span></i><i><span style="color: #222222; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">: function}</span></i></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<div dir="ltr" style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> كما ترى تم نسخ جميع محتويات الكلاس إلى الاوبجيكت <span style="mso-spacerun: yes;"> </span>وألان نستخدم constructor<span style="mso-spacerun: yes;"> </span></span></span></div>
<span style="font-family: inherit;"><br /></span>
<br />
<div dir="ltr" style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span style="color: #0080ff; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">myObject.constructor('mustafa');</span></span></div>
<div dir="ltr" style="text-align: left;">
<span style="font-family: inherit;"><span style="color: grey; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">undefined</span></span></div>
<div dir="ltr" style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<span style="font-family: inherit;"><br /></span>
<br />
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">عندما لا يكون هنالك قيم ترجع عند تنفيذ أي أمر يرجع </span><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">undefined </span>لذالك
لا تقلق بشأنها ولان جرب الدالة getvale() </span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span style="color: #0080ff; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">myObject.getVale()</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span style="color: #222222; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">"</span><span style="color: #c41a16; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">mustafa</span><span style="color: #222222; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">"</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<h3 style="text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">inheritance in<span style="font-family: inherit;"> Prototypal model</span> :</span></span></h3>
</div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">هنالك خط رفيع بين عملية الوراثة وعملية </span><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">instantiation </span>عند أنشأ <span style="mso-spacerun: yes;">object </span>عند<span style="mso-spacerun: yes;"> </span>استخدم </span><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">Prototypal
model</span><span style="mso-spacerun: yes;"> </span>وألان لنقم بتطبيق مفهوم </span><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">inheritance</span> او الوراثة.</span></span></div>
<div align="center" class="MsoNormal" style="line-height: normal; text-align: center;">
<span style="font-family: inherit;"><br /></span></div>
<div dir="ltr" style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> var childObject = Object.create(myClass);
childObject.getVale=function(){
return this._val+' is my name !!'
}
</code></span></pre>
<div dir="ltr" style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; text-align: left;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">النتيجة</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span style="color: #0080ff; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">myObject.constructor('mustafa');</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span style="color: grey; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">undefined</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span style="color: #0080ff; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">myObject.getVale()</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span style="color: #222222; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">"</span><span style="color: #c41a16; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">Mustafa</span><span dir="RTL" style="color: #c41a16; mso-ansi-font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> </span><span style="color: #c41a16; font-size: 9.0pt; mso-bidi-font-family: "Courier New"; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"><span style="mso-spacerun: yes;"> </span>is my name</span><span style="color: #222222; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">"</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">كما تر ى فأن الفرق بين </span><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">instantiation </span></span>و </span><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">inheritance</span>هي overiding method<span style="mso-spacerun: yes;"> </span>أو إعادة كتابة الدالة الموجود في
الكلاس الأب <span style="mso-spacerun: yes;"> </span>ولأكن ماذا إذا أردت تنفيذ
دالة داخل نفسها <span style="mso-spacerun: yes;"> </span>طبعا هذا غير ممكن ولأكن
يمكنك استدعاء دالة الكلاس الأب<span style="mso-spacerun: yes;"> </span>بدلان من
نفس الكلاس</span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">أريد مثلا إعادة كتابة الدالة getval </span></span></div>
<span style="font-family: inherit;"><br /></span>
<br />
<div dir="ltr" style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> childObject.getVale=function(){
return myClass. getVale +' is my name !!'
}
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="MsoNormal" dir="ltr" style="line-height: normal; text-align: left;">
<span style="font-family: inherit;">النتيجة</span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span style="color: #0080ff; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">myObject.getVale()</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span style="color: #222222; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">"</span><span style="color: #c41a16; font-size: 9.0pt; mso-bidi-font-family: "Courier New"; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">isra</span><span dir="RTL" style="color: #c41a16; mso-ansi-font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> </span><span style="color: #c41a16; font-size: 9.0pt; mso-bidi-font-family: "Courier New"; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"><span style="mso-spacerun: yes;"> </span>is
my name</span><span style="color: #222222; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">"</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">وهازه إجابة خاطئة لماذا؟</span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">كما سبق عرفنا قيمة val في myobject ب"mustafa"ولأكنه طبع 'isra' لأنه أستخدم val الموجودة في myclass وليس myobject أما إذا أردة استخدام الخاصية </span><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">val </span> بmyobject نكتب </span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span style="mso-tab-count: 1;"> </span></span><br />
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><span style="mso-tab-count: 1;"><code style="color: black; word-wrap: normal;"> childObject.getVale=function(){
return myClass. getVale.call(this) +' is my name !!'
}
</code></span></span></pre>
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">في الكود السابق استخدمنا دالة الكلاس myclass ولاكن بقيم<span style="mso-spacerun: yes;"> </span>myobject وذالك باستدعاء الدالة call الموجودة
في أي كلاس </span></span><br />
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> وتمرير this إليها<span style="mso-spacerun: yes;"> this </span>يعنى
الكلاس الذي نحن فيه .وألان جرب استخدام الدالة و ستكون النتيجة </span></span><br />
<div dir="ltr" style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
</div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span style="mso-spacerun: yes;"> </span></span><span style="color: #0080ff; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">myObject.getVale() </span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span style="color: #222222; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">"</span><span style="color: #c41a16; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">Mustafa</span><span dir="RTL" style="color: #c41a16; mso-ansi-font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> </span><span style="color: #c41a16; font-size: 9.0pt; mso-bidi-font-family: "Courier New"; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"><span style="mso-spacerun: yes;"> </span>is my name</span><span style="color: #222222; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">"</span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span>
<br />
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<h3 style="text-align: right;">
<span style="font-family: inherit;">Classical
model</span></h3>
</div>
</div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">وألان نأتي لل Classical model وهو كما وضحنا انه أكثر الموديل استخداما والاكثر شيوعاّ ولأكن قبل أن نخوض فيه دعونا نشرح البروتو تايب التي ذكرناها في أول المقال .</span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">البروتو تايب هي خانة يمكن فيها إضافة المزيد من الدوال و المتغيرات
في شكل object او دالة ويستخدم غالبا للوراثة او Polymorphism فعندما يرث كلاس كلاس<span style="mso-spacerun: yes;"> </span>أخر يتم نسخ جميع محتويات الكلاس الاب الى بوتوت
تايب الكلاس الإبن,<span style="mso-spacerun: yes;"> </span> الصورة توضح
مكان البروتو تايب. </span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdXjih6K0DwhdeE6MW54CPwHtcXAY6GUtXqiQOVVulwJF1_7cfEzoXNN8Cp-7410P4x4k6eSEwWVw6fuAcaqikPqYm65Y7na9lmBcPMiwg1QbdAfxyex3ZGnbyHPlalUPvVBt_FaENxQW6/s1600/javascriptoop.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdXjih6K0DwhdeE6MW54CPwHtcXAY6GUtXqiQOVVulwJF1_7cfEzoXNN8Cp-7410P4x4k6eSEwWVw6fuAcaqikPqYm65Y7na9lmBcPMiwg1QbdAfxyex3ZGnbyHPlalUPvVBt_FaENxQW6/s1600/javascriptoop.png" height="260" width="640" /></a></span></div>
</div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">كما في الصورة في أخر خانة في أي كلاس بروتو تايب اوبجيكن وكذالك في
أي function هنالك بورتو تايب function وفي داخل
البروتو تايب<span style="mso-spacerun: yes;"> function </span>يوجد بروتو تايب
اوبجيكت<span style="mso-spacerun: yes;">.</span></span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">بالنسبة Classical model فان كلمة prototype هى شى اساسي<span style="mso-spacerun: yes;"> </span>في عملية </span><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">instantiation </span></span></span>وال </span><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">inheritance</span> </span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">يتم كتابة الكلاس في شكل functionعادية ولاكن إنتبه فال function التى نريد
ان تكون كلاس تبدأ بحرف كبير اما الدوال العادية فتبدا بحروف صغيرة هنالك الكثير
من الكلام حول هازه النقطة سنشرحها في درس الفيديو:</span></span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><span style="mso-tab-count: 1;"><code style="color: black; word-wrap: normal;"> Function Myclass(){
}
</code></span></span></pre>
<span style="font-family: inherit;"><span style="mso-tab-count: 1;"> </span></span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span style="mso-tab-count: 1;"><!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:RelyOnVML/>
<o:AllowPNG/>
</o:OfficeDocumentSettings>
</xml><![endif]--></span><br /></span>
<span style="font-family: inherit;"><span style="mso-tab-count: 1;"><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>AR-SA</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"جدول عادي";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
</style>
<![endif]-->
</span></span><br />
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span style="mso-tab-count: 1;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">كل عنصر في الobject يكتب بعد this:</span></span></span></div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><span style="mso-tab-count: 1;"><code style="color: black; word-wrap: normal;"> function Myclass(){
this._name;
}
</code></span></span></pre>
<span style="font-family: inherit;"><span style="mso-tab-count: 1;"> </span><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> </span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">constructor الكلاس هو نفس الدالة :</span></span></div>
<span style="font-family: inherit;"><br /></span>
<br />
<div dir="ltr" style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> function Myclass(name){
this._Name=name;
}
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<br />
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span>
<br />
<div style="text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> أما الدوال تكتب بهذه الطريقة :</span></span></div>
<div dir="ltr" style="text-align: left;">
<span style="font-family: inherit;"></span></div>
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><code style="color: black; word-wrap: normal;"> } ()Myclass.prototype.getName=function
; return this._Name
{
</code></span></span></pre>
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> </span></span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">أما طريقة النستيشن فتتم بالطريقة العادية كما في php او java:</span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><span style="mso-tab-count: 1;"><code style="color: black; word-wrap: normal;"> var Myobject = new Myclass('mustafa-dev');
</code></span></span></pre>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">ثم جرب ونفذ الدالة</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span style="color: #0080ff; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">Myobject.getName();</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span style="color: #222222; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">"</span><span style="color: #c41a16; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">mustafa-dev</span><span style="color: #222222; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">"</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span>
<br />
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<h3 style="text-align: right;">
<span style="font-family: inherit;">Classical
model <span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">inheritance in</span></span> </h3>
</div>
</div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">ناتي لعملية الوراثة في </span><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">Classical
model وهي تتم في ثلاث مراحل لنجعل
الكلاس mysubobject يرث myobject أولا</span></span><br />
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span style="mso-spacerun: yes;"> </span>كتابة الكونستركتور هنا أريد أن
انسخ نفس الكونستركتر الأب إذن هنا الدالة call ستأخذ برميترين هما thisو المتغير name </span></span></div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> function Myobject(name){
Myclass.call(this,name);
}
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<br />
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span style="mso-tab-count: 1;"> </span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> </span></span><br />
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">نسخ البروتو تايب </span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span style="mso-tab-count: 1;"> </span></span><br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> Myobject.prototype = Object.create(Myclass.prototype);
</code></span></pre>
</div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> تعريف الكونستركتور للبروتو تايب</span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span style="mso-tab-count: 1;"> </span></span><br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> Myobject.prototype.constructor = Myobject;
</code></span></pre>
</div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> ولان جرب الكلاس الابن </span></span><br />
<div dir="ltr" style="text-align: left;">
<br /></div>
</div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span style="color: #0080ff; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">var
subObj=new Myobject('mustafa-dev');</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span style="color: grey; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">undefined</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span style="color: #0080ff; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">subObj.getName();</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><span style="color: #222222; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">"</span><span style="color: #c41a16; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">mustafa-dev</span><span style="color: #222222; font-size: 9.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">"</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; margin-bottom: 0in; text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<h3 style="text-align: right;">
<span style="font-family: inherit;">ES6 </span></h3>
</div>
</div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">وألان نأتي للمودل الذي لم يطرح في الأسواق بعد أو قد طرح في القليل من
الأسواق طبعاً لله الحمد أنهم قد جعلوه مشابه تتما لبقية لغات البرمجة </span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">طريقة كتابة الكلاس في es6</span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<br /></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> class myClass{
constructor(val){
this._Name=val;
}
getName(){
return this._Name;
}
}
</code></pre>
</div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<br /></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
إنشأ الاوبجيكت في es6</div>
<br />
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> var myObject = new myClass('mustafa-dev');
myObject.getName();
</code></pre>
<br />
<br />
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<h3 style="text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">inheritance in es6<span style="font-family: inherit;"> :</span></span></span></h3>
</div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> class subClass extends myClass{
constructor(val){
super(val);
}
getMeMyname(){
return super();
}
}
</code></pre>
<br />
<span style="font-family: inherit;"><span style="mso-tab-count: 1;"><br /></span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">تذكر هاذ الموديل لازال غير متاح في كل المتصفحات وعندما نقول
المتصفات نعنى كروم فيرفوكس<span style="mso-spacerun: yes;"> </span>اوبيرا
وسفاري<span style="mso-spacerun: yes;"> </span>وليس ie</span></span></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">انتظرونا في درس الفيديو .</span></span></div>
</div>
Anonymoushttp://www.blogger.com/profile/12802389062209938364noreply@blogger.com0tag:blogger.com,1999:blog-2002982027821494290.post-31001750778203131412014-08-21T03:08:00.000-07:002014-12-06T22:47:05.012-08:00Object Oriented PHP<div dir="rtl" style="text-align: right;" trbidi="on">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:RelyOnVML/>
<o:AllowPNG/>
</o:OfficeDocumentSettings>
</xml><![endif]-->
<br />
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; margin-right: 2.5in; text-align: right; text-indent: 0.5in; unicode-bidi: embed;">
<div class="separator" style="clear: both; text-align: right;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0NhzwHyyGSPo8WqJRMrrlRPY2nt3K3LCzr5CH3-hA5E2dHQHyhCBWkUKt0VuFxXYtQTaf94WxtlzscqBqTrywzXo5-oVNUxEFAh8ezYKPtdX8eyqRgqfY-gg61YV9KfCWzZObkvhaDd0M/s1600/php-oop.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0NhzwHyyGSPo8WqJRMrrlRPY2nt3K3LCzr5CH3-hA5E2dHQHyhCBWkUKt0VuFxXYtQTaf94WxtlzscqBqTrywzXo5-oVNUxEFAh8ezYKPtdX8eyqRgqfY-gg61YV9KfCWzZObkvhaDd0M/s1600/php-oop.png" height="215" width="400" /></a></div>
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">تطرقنا في ألتدوينه
السابقة إلى موضوع </span><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">oop</span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> وقلنا انه أسلوب
برمجي لوضع مجموعة من الخصائص والمهام في كائنات </span><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">class</span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">
ويساعدنا ذالك في إعادة استخدام الكود وتفادي التكرار وابقي في ذهنك قاعدة </span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span style="mso-spacerun: yes;">(don't repeat yourself (DRY </span>وألان سنتناول المفهوم في لغة </span><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">php</span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">.</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">إذن الكائن هو الذي
نجمع فيه الخصائص المتشابه في مسمى واحد في صفحة الكود يسمى كلاس وعندما ننشى من
عنصر يسمى اوبجيكت لاحظ الكود التالي </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1pt dashed rgb(204, 204, 204); padding: 0in; text-align: left;">
<div class="MsoNormal" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: medium none; line-height: 15pt; margin-bottom: 0.0001pt; padding: 0in; unicode-bidi: embed;">
<span style="font-family: inherit;"><span dir="LTR" style="color: black; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"><?php<span style="mso-spacerun: yes;"> </span></span></span></div>
<div class="MsoNormal" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: medium none; line-height: 15pt; margin-bottom: 0.0001pt; padding: 0in; unicode-bidi: embed;">
<span style="font-family: inherit;"><span dir="LTR" style="color: black; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"><span style="mso-spacerun: yes;"> </span>Class car{<span style="mso-spacerun: yes;">
</span></span></span></div>
<div class="MsoNormal" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: medium none; line-height: 15pt; margin-bottom: 0.0001pt; padding: 0in; unicode-bidi: embed;">
<span style="font-family: inherit;"><span dir="LTR" style="color: black; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"><span style="mso-spacerun: yes;"> </span>Public<span style="mso-spacerun: yes;">
</span>$CarName;<span style="mso-spacerun: yes;"> </span></span></span></div>
<div class="MsoNormal" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: medium none; line-height: 15pt; margin-bottom: 0.0001pt; padding: 0in; unicode-bidi: embed;">
<span style="font-family: inherit;"><span dir="LTR" style="color: black; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"><span style="mso-spacerun: yes;"> </span>Public $CarColor;<span style="mso-spacerun: yes;"> </span></span></span></div>
<div class="MsoNormal" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: medium none; line-height: 15pt; margin-bottom: 0.0001pt; padding: 0in; unicode-bidi: embed;">
<span style="font-family: inherit;"><span dir="LTR" style="color: black; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"><span style="mso-spacerun: yes;"> </span>Public function speedup(){<span style="mso-spacerun: yes;"> </span></span></span></div>
<div class="MsoNormal" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: medium none; line-height: 15pt; margin-bottom: 0.0001pt; padding: 0in; unicode-bidi: embed;">
<span style="font-family: inherit;"><span dir="LTR" style="color: black; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"><span style="mso-spacerun: yes;"> </span>Echo "run";<span style="mso-spacerun: yes;"> </span></span></span></div>
<div class="MsoNormal" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: medium none; line-height: 15pt; margin-bottom: 0.0001pt; padding: 0in; unicode-bidi: embed;">
<span style="font-family: inherit;"><span dir="LTR" style="color: black; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"><span style="mso-spacerun: yes;"> </span>}<span style="mso-spacerun: yes;"> </span></span></span></div>
<div class="MsoNormal" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: medium none; line-height: 15pt; margin-bottom: 0.0001pt; padding: 0in; unicode-bidi: embed;">
<span style="font-family: inherit;"><span dir="LTR" style="color: black; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"><span style="mso-spacerun: yes;"> </span>}<span style="mso-spacerun: yes;"> </span></span></span></div>
<div class="MsoNormal" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: medium none; line-height: 15pt; margin-bottom: 0.0001pt; padding: 0in; unicode-bidi: embed;">
<span style="font-family: inherit;"><span dir="LTR" style="color: black; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"><span style="mso-spacerun: yes;"> </span>?><span style="mso-spacerun: yes;"> </span></span></span></div>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> سنتطرق ل public لاحقا
دعونا في الكود السابق عرفنا class أسمه carعرفنافيه CarName$ إسم السيارة وCarcolor$ لون السيارة لم نقم
بشيء جديد هنا </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> <?php
$toyta =new car();
?>
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">في الكود السابق
أنشأنا<span style="mso-spacerun: yes;"> object </span>أسمه تويوتا من النوع car ولان نريد الوصول إلى خصائص object او السيارة نصل إلى العناصر الخاصة بالobject عن طريق الكتابة <– ثم اسم العنصر سوأ
كان خاصية أو دالة سوأ أردت إعطائه قيمة للخاصية أو أردت استرجاعها<span style="mso-spacerun: yes;"> </span>أو عرضها كما في الكود التالي</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> $toyta->CarName;
</code></span></pre>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">الآن أريد أن أعطي
للسيارة لون<span style="mso-spacerun: yes;"> </span>وأسم </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> $toyta->CarName="camre";
</code></span></pre>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">في الكود السابق قمنا
باستدعاء الخاصية Carname وخزنا فيها أسم السيارة كامري<span style="mso-spacerun: yes;"> </span>وألان أريد عرض إسم السيارة </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> echo $toyta->CarName;
</code></span></pre>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">النتيجة</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> camre
</code></span></pre>
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<h3 style="text-align: right;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">functions</span></span></h3>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">الدوال هي بلوك يوضع
الكود البرمجي داخلها ليتم استعماله في عدة مناطق و بأشكال مختلفة فقط بمجرد كتابة
أسم الدالة<span style="mso-spacerun: yes;"> </span>و يتم تعريف الدالة كألتالي </span></span></div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> Function functionname (){
Function body
}
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span style="mso-spacerun: yes;"> </span>وبالطريقة التالية يتم استدعاء الدالة </span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Functionname </span> </span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">أسم الدالة </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">functionname ();</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; text-align: left; unicode-bidi: embed;">
<div dir="rtl" style="text-align: right;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">و إليك المثال</span> </span></span></div>
</div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; text-align: left; unicode-bidi: embed;">
<pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> Function sayehello(){
Echo " hello ";
}
Hi ahmad sayehello(); hi ali sayehello();
</code></span></pre>
</div>
<div dir="ltr" style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">النتيجة </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> Hi ahmad hello hi ali hello
</code></span></pre>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<br />
<h3 style="text-align: right;">
<span style="font-family: inherit;">parameters</span></h3>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">هي المتغيرات التي
يمكن تمريرها للدالة أثنا التنفيذ وتنفيذ الكود على أساسها<span style="mso-spacerun: yes;"> </span>ويجب تعريفها عند تعريف الدالة </span></span></div>
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> Function sayehello($name){
Echo ”hello ”. $name;
}
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">كما ترى قمنا بتعريف
برميتر في أقواس الدالة<span style="mso-spacerun: yes;"> </span>و استخدمناه داخل
الكود البرمجي ولان كل ما نكتبه في المتغير name$ سيقوم بعرضه إلى جانب كلمة hello طبعا في php يتم دمج النصوص باستخدام النقطة.</span></span></div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> $name=”ahmad”;
sayehello($name);
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> او كتابة القيمة
مباشرة</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> sayehello('ahmad' );
</code></span></pre>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">النتيجة</span></span><br />
<span style="font-family: inherit;"><br /></span>
<br />
<pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><code style="color: black; word-wrap: normal;"> Hello ahmad
</code></span></span></pre>
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">يمكن تمرير أكثر من
برميتر</span></span></div>
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> <?php
Function sayehello($name,$name2,$name3){
Echo ' hello '.$name;
Echo ' hello '.$name2;
Echo ' hello '.$name3;
}
sayehello("musta","ahmade","ali");
?>
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">النتيجة</span></span></div>
<div style="text-align: right;">
<span style="font-family: inherit;"><br clear="all" style="page-break-before: always;" /></span>
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="font-size: 11.0pt; mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">
</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> hello musta hello ahmade hello ali
</code></span></pre>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">أما إذا<span style="mso-spacerun: yes;"> </span>أردنا<span style="mso-spacerun: yes;"> </span>أن
يكون البرميتر في حالة عدم تمريره فارغ فعليك تعريفه فارغ وإلا سيحدث خطأ</span></span></div>
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> Function sayehello($name=null){
echo 'hello '. $name;
}
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> </span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">null</span> تعني فارغ بهذه
الطريقة يمكنك تمرير قيمة أثنا التنفيذ أو تركها فارغة</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">كما يمكنك تعريف عدد
غير متناهي من البرميترات وذالك بتمرير مصفوفة<span style="mso-spacerun: yes;">
</span>كما سنأخذ في الدروس القادمة</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">بعد أن قمنا بشرح
الدوال نأتي<span style="mso-spacerun: yes;"> </span>استخدامها داخلclass</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">بنفس طريقة المتغيرات
يمكن استدعاء الدوال<span style="mso-spacerun: yes;"> </span>من الobject و<span style="mso-spacerun: yes;"> </span>يتم
تنفيذ الدوال فور استدعائها</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">أنظر الكلاس car هنالك
دالة بداخله تقوم بطباعة كلمة run على الشاشة </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; text-align: left; unicode-bidi: embed;">
<pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> $toyta->speedup();
</code></span></pre>
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">النتيجة</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Run</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> وبنفس الطريقة<span style="mso-spacerun: yes;"> </span>يمكن كتابة متغيرات داخل الدالة<span style="mso-spacerun: yes;"> </span>لنعد تعريف الدالة بحيث تستقبل متغيرات </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<br />
<pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><span style="mso-spacerun: yes;"><code style="color: black; word-wrap: normal;"> <?php
Class car{
Public $CarName;
Public $CarColor;
Public function speedup($speed){
Echo " run ".$speed;
}
}
?>
</code></span></span></span></pre>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">النتيجة</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Run 100</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><span style="mso-spacerun: yes;">
</span></span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<h3 style="text-align: right;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">الوراثة (</span>Inheritance):</span></h3>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">نأتي لواحدة من أهم
مفاهيم الoop وهي الوراثة وهي ببساطة تعني نسخ جميع خصائص و دوال الكلاس إلى كلاس
أخر وتتم الوراثة </span></span><br />
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> بالطريقة التالية </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><code style="color: black; word-wrap: normal;"> <?php
Class a{
}
Class b extends a{
}
?>
</code></span></span></pre>
<span style="font-family: inherit;"><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"> </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">الكلاس a هو الكلاس
الاب والكلاس b هوالكلاس الابن أو المورث وللان يتم نقل كل ما يوجد داخل الكلاس
الى الكلاس ببساطة<span style="mso-spacerun: yes;"> </span>وألان لنطبق على الكلاس car</span></span></div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> <?php
Class toyto extends car{
Public $Companyname;
Public function getCompanyname(){
echo 'toyta';
}
}
?>
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">لقد قلنا أن أننا
ننسخ جميع الدوال والخصائص من الكلاس الاب الى الكلاس الاإبن وألان جرب </span></span></div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> $newcar= new toyto();
$newcar->speedup('200');
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">النتيجة</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;">run 200</code></span></pre>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">لاحظ أن الدالة speedupغير موجودة فى الكلاس toyto ولأكن يتم تنفيذها عند إستعائها<span style="mso-spacerun: yes;"> </span>من الكلاس<span style="mso-spacerun: yes;">
</span>بسبب الوراثة تم نسخها إلى الكلاس toyto</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">اعتقد ان الصورة قد وضحت</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<h3 style="text-align: right;">
<span style="font-family: inherit;"><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">public , protected , private</span></span></h3>
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> ولان نأتي لكلمة<span style="mso-spacerun: yes;"> public </span>إنظر المثال التالي</span></span></div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> Class car{
Public $CarName='camre';
}
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> ولنفترض انك لا تريد
أن يتم الوصول إلى الخاصية بهذه الطريقة </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> $toyta=new car()
echo $toyta->CarName;
</code></span></pre>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">لأنه بهذه
الطريقة<span style="mso-spacerun: yes;"> </span>يمكن تغير قيمة<span style="mso-spacerun: yes;"> </span>بكل سهولة </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> $toyta->CarName='anothername';
</code></span></pre>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">إذن فالوصول إلى هذه القيمة بهذه الطريقة غير امن </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">حتى عند الوراثة عندما يرث أي كلاس من الكلاس كار يمكن للكلاس
الوارث<span style="mso-spacerun: yes;"> </span>إستخدام<span style="mso-spacerun: yes;"> </span>الخاصية و التعديل عليها بكل سهولة أنظر الكود
التالي</span></span></div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> Class toyto extends car{
Public $combanyname;
Public function getcombanyname(){
Echo 'toyta';
}
}
$newcar =new toyto();
echo $newcar->carname;
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">النتيجة </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Run</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">إذن بالتاي كلمة ببليك تعنى أن الجميع يمكنهم استخدام هذه الخاصية أو
الدالة خارج الكلاس ,هل يمكن تقيد الوصول إلى الخواص والدوال داخل الكلاس </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> بالطبع ولان أكتب كلمة </span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">protected </span> بدل ببليك </span></span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><b><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><br /></span></b></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><b><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><code style="color: black; word-wrap: normal;"> <?php
Class car{
protected $CarName;
Public $CarColor;
public function speedup(){
echo 'run ';
}
}
?>
</code></span></b></span></pre>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">النتيجة</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> Fatal error: Cannot access protected property car::$CarName in C:\xampp\htdocs\tesr\index.php on line 17
</code></span></pre>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">ولان جرب استخدامها
خارج الكلاس الموروث نحصل على نفس النتيجة </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">إذن خاصية بروديكن
تعني انه لا يمكن استخدام خارج الكلاس سوأ كان الأب أو الابن </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">ولنفترض انك تريد أن
تستخدمها داخل الكلاس فقط وألا تورث إذن عليك استخدام </span><code>private</code></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">عندما نكتب برنامج
حقيقي يجب عليك استخدام </span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><code>private</code> او protected حسب الاحتياج<span style="mso-spacerun: yes;"> </span>والدوال عادة ما تكون public<span style="mso-spacerun: yes;"> </span></span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">س:إذا كنت تريد
استخدام احد الخصائص المحمية خارج الكلاس ماذا افعل</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<h3 class="r">
<span style="font-family: inherit;"><i>Setter</i> <i>& Getter</i></span> </h3>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">كما قلنا سابقا عندما
تعمل على مشروع فليس من الحكمة ان تعطى لمتغير خاصية public ولاكن ماذا إذا أردت أن
تستخدم متغير محمي<span style="mso-spacerun: yes;"> </span>خارج الكلاس <span style="mso-spacerun: yes;"> </span>ببساطة أستخدم دالة public</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">أنظر إلى الكود
التالي</span></span></div>
<div class="MsoNormal" dir="ltr" style="line-height: normal; text-align: left; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<br />
<pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> <?php
Class car{
private $CarName='camrey';
public $CarColor;
public function getcarname(){
Return $this->CarName;
}
public function speedup(){
echo 'run ';
}
}
?>
</code></span></pre>
</div>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">خلينا من this$ والآن في الدالة getcarname طلبنا منه إرجاع
المتغير CarName جرب تنفيذ الدالة </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> النتيجة</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;">camrey</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">لقد كتبنا داله ترجع لنا
قيمة المتغير المحمي من دون تعريضه للخطر وهذه احد أهم مفاهيم الoop وهو
التغليف أي اننا جعلنا التعامل مع المتغير من خلال دالة</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">ولأكن ماذا إذا كنا
نريد<span style="mso-spacerun: yes;"> </span>أن نسند لها قيمة من خارج الكلاس</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span style="mso-spacerun: yes;"> </span>بنفس الطريقة<span style="mso-spacerun: yes;">
</span>أكتب دالة تستقبل برميتر يتم إعطائه للدالة</span></span></div>
<span style="font-family: inherit;"><br /></span>
<br />
<div dir="ltr" style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> <?php
Class car{
private $CarName;
public $CarColor;
public function getcarname($name){
Return $this->CarName=$name;
}
public function speedup(){
echo 'run ';
}
}
?>
</code></span></pre>
<div dir="ltr" style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div dir="ltr" style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> لاحظ ستعدنا الدالة و
أسنادنا قيمة إليها لذالك سمية دوال الستر والجتر </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<br />
<h3 style="text-align: right;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">this$ </span></span></h3>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">نأتي إلى ال ذيس </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">إذا كنت تكتب داخل
دالة داخل كلا س وأردت استخدام carname ماذا تفعل</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">ببسطة أستخدم this ثم إسم
الدالة يعنى this تمكننا من استخدام محتويات الكلاس الذي نحن فيه أو تعني الكلاس نفسه.</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<h3 class="nolinks">
<span style="font-family: inherit;">
Constructors </span></h3>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">دالة التمهيد أو دالة
البناء </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">يوجد في أي كلاس دالة
تسم Constructor</span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> تستدعى عند إنشاء الابجيكت<span style="mso-spacerun: yes;">
</span>تبقى فارغة إذا<span style="mso-spacerun: yes;"> </span>لم تكتبها </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">تكتب في Constructor</span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> ما
تريد تنفيذه أثنا إنشاء الابوجيكت تاخذ دالة Constructor نفس إسم الكلاس او __construct() تفضل الاخير لانع ربما تحتاج لتغير إسم الكلاس وعنداه تحتاج لتغير إسم الكونستركت</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">دعونا نكتب
Constructor للكلاس كار</span></span></div>
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> <?php
Class car{
private $CarName;
function __construct($carname){
$this->CarName=$carname;
}
Public function getcarname(){
Return $this->CarName;
}
}
$toyta= new car('camrey');
echo $toyta->getcarname();
?>
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">في المثال السابق </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">طلبنا من Constructor إسناد القيمة التي سنمررها عند إنشاء الاوبجيكت<span style="mso-spacerun: yes;"> لcarname</span></span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><span style="mso-spacerun: yes;"> </span></span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">قد يبدو بدون قائده ولأكنه مفيد جدا ولنفترض ان بيانات السيارات
مخزنة في قاعدة بيانات كرقم السيارة و لون والماركة</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">إذا أردة إنشاء
الاوبجيكت بطريقة اوتماتيكية<span style="mso-spacerun: yes;"> </span>كل ما عليك
هو تمرير ال ip إلى </span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">Constructor </span>و سيقوم بستخراج خصائص السيارة و إسنادها إلى
المتغيرات<span style="mso-spacerun: yes;"> </span></span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">س: في حالة الوراثة
كيف يتم نسخ </span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">Constructor </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">ببساطة يمكنك استخدام
</span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">Constructor</span>الاب وإعادة إستخدامه داخل </span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">Constructor</span> الجديد بالطريقة التالية</span></span></div>
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> <?php
Class newcar extends car{
Function car(){
parent::__construct();
echo “new constract”;
}
}
?>
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<br />
<h3 style="text-align: right;">
<span style="font-family: inherit;">destruct</span></h3>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">كما ان
الكونستركت<span style="mso-spacerun: yes;"> </span>يستدعا عند إنشاء الاوبجيكت فأن </span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><code>destruct</code> </span><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"><code></code>يستدعا عند إنها الاوبجيكت </span></span></div>
<span style="font-family: inherit;">إليك المثال</span><br />
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> <?php
Class car{
private $CarName;
Function __constrcontr($carname){
$this->CarName;
}
Public function getcarname(){
Return $thist>CarName;
}
Function __destrcontr($carname){
$this->CarName=null;
Echo ‘finsh job’;
}
}
?>
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">كما ترى قمنا بتفريغ
المتغيرات<span style="mso-spacerun: yes;"> </span>وطباعة finsh job <span style="mso-spacerun: yes;"> </span>تستخدم دالة الهدم لمساعدة php لتفرغ القيم
كما إنهاء مهمة في حالة فتح اتصال مع قاعدة البيانات يمكنك إغلاق الاتصال بقاعدة
البيانات في </span><code>destruct</code></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<h3 style="text-align: right;">
<span style="font-family: inherit;"><span dir="LTR" style="font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Static</span></span></h3>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">الخاصية ستاتيك
تستخدم عندما تريد أن تشارك المتغير مع اي ابوجيكت تنشئه من الكلاس ركز معي<span style="mso-spacerun: yes;"> </span>ستاتيك تعنى انه ثابت وليس غير قابل للتغير حيث
أنه يمكن تغير قيمته </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;"> أنظر الكود التالي</span></span><br />
<span style="font-family: inherit;"><br /></span>
<br />
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> Class car{
Public static companyName='toyota';
}
</code></span></pre>
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">يتم استدعائه القيمة
بدون إنشاء اوبجيكت<span style="mso-spacerun: yes;"> </span>بهذه الطريقة </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> Echo car:: companyName;
</code></span></pre>
</div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">وإذا تغيرة قيمة
المتغير ستاتيك <span style="mso-spacerun: yes;"> </span>في أي مكان ستتغير في بقية
الاوبجيكت وهذا ما تعنيه مشاركة.</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">كما يمكننا جعل
المتغيرات ثابتة يمكننا جعل دوال ثابتة ولأكن أنتبه عندما نكتب دالة ستاتيك لانكتب this بداخلها لأنه لا يوجد<span style="mso-spacerun: yes;"> object</span> بداخلها فهي
تستدعى من دون إنشاء اوبجيكت ستفهم فائدتها عندما تفهم معنا كلمة "قوانين ثابتة" مثل
قانون مساحة الدائرة آو قانون مساحة المربع </span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><span lang="AR-SA" style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;">وفي كلاس السيارة
مثلا قد نحتاج لقانون مثلا لحساب سرعة السيارة</span></span></div>
<div class="MsoNormal" dir="RTL" style="direction: rtl; line-height: normal; text-align: right; unicode-bidi: embed;">
<span style="font-family: inherit;"><br /></span></div>
<pre dir="ltr" style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><span style="font-family: inherit;"><code style="color: black; word-wrap: normal;"> <?php
Class car{
private $CarName;
static function carspeed($Distance,$time){
return $Distance/$time
}
}
Echo Car:: carspeed(122,333);
?>
</code></span></pre>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">كانت هذه التدوينة تلخيص لمفهوم الoop بلغة php ولايزال هنالك مفاهيم متقدم فى ال oop سنناقشها في تدوينات قادمة نلتقى في تدوينة اخرى إنشاء الله.</span><br />
<span style="font-family: inherit;"><br /></span>
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>AR-SA</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"جدول عادي";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
</style>
<![endif]--></div>
Anonymoushttp://www.blogger.com/profile/12802389062209938364noreply@blogger.com0tag:blogger.com,1999:blog-2002982027821494290.post-48869999685666665582014-08-12T12:30:00.003-07:002014-12-06T22:50:00.449-08:00ماهو WebSocket <div dir="rtl" style="text-align: right;" trbidi="on">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>AR-SA</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]-->
<br />
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTflT9_gWAmC3seytHJ5IWdGyB8bqxvkBXNsSmeyd4pRzpaeiIc3P3fB19I5oI2arPXg2Sn7FDaL7_EzFd6TVt5L_Yo3akByYob3iAv_LFo5YnorHgvBpXYTjfAVfvdyL4niCpMdFR37XU/s1600/Websockets-460x300.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTflT9_gWAmC3seytHJ5IWdGyB8bqxvkBXNsSmeyd4pRzpaeiIc3P3fB19I5oI2arPXg2Sn7FDaL7_EzFd6TVt5L_Yo3akByYob3iAv_LFo5YnorHgvBpXYTjfAVfvdyL4niCpMdFR37XU/s1600/Websockets-460x300.png" /></a></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<br /></div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-size: large;">هو برتوكول يمكن من إنشاء اتصال عكسي في
قناة واحدة بين المستخدم والسير فر وقد
حددت منظمة <span dir="LTR"></span><span dir="LTR"></span> <span dir="RTL"></span><span class="st">IETF </span> معايره عام 2011صمم البرتوكول
ليتناسب مع المتصفحات </span><br />
<a name='more'></a><span style="font-size: large;">والسيرفرات يمكن استخدامه في أي برنامج أخر, لاتزال بعض المتصفحات غير جاهذة راجع الرابط التاي لتتأكد من توافقيت المتصفحات <a href="http://caniuse.com/websockets">http://caniuse.com/websockets</a>.</span>
</div>
<div align="right" class="MsoNormal" style="line-height: normal; text-align: right;">
<br /></div>
<span style="font-family: inherit;"><span style="font-size: large;">
</span></span><br />
<h3 class="MsoNormal" style="line-height: normal; text-align: right;">
<span style="font-family: inherit;"><span style="font-size: large;">ماهي الفائدة منه:</span></span></h3>
<span style="font-family: inherit;"><span style="font-size: large;">
</span></span><br />
<div align="right" class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: right;">
<span style="font-family: inherit;"><span style="font-size: large;">سيفتح ثورة جديد في عالم web بسبب سرعة هذه
التقنية وربما قد نودع تقنية ajax فالWebSocket يمكن التفاعل في realtime communication حيث يمكننا إرسال
الرسائل واستقبالها بمجرد ضغط على زر
الإرسال على عكس التقنيات القديمة مثل ajax الذي يرسل ثم يقفل الاتصال و ينتظر الإجابة
من السير فر ,ليس فقط الرسائل بالاتصالات
الصوتية والمرئية والألعاب وغيرها الكثير.</span></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></div>
<!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"جدول عادي";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>AR-SA</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"جدول عادي";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
</style>
<![endif]--></div>
Anonymoushttp://www.blogger.com/profile/12802389062209938364noreply@blogger.com2tag:blogger.com,1999:blog-2002982027821494290.post-4042802908143937112014-08-12T07:33:00.004-07:002014-12-06T22:50:26.618-08:00مفهوم oop<div dir="rtl" style="text-align: right;" trbidi="on">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>AR-SA</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><br />
<!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"جدول عادي";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
</style>
<![endif]-->
<br />
<div align="right" class="MsoNormal" style="text-align: right;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJub6e9THQn5i_b2og9NfA06swqm4pq0vpKgYnzVfIC8tB553eKLjUn9IjHENjVBEWPCKLGO9JCf12hxuDj3sjM1VP74vOUJ7Yu1-N3imk0oAjJif7mFlfa5T6QdQlHnYZ8TE_biDccmKl/s1600/oop-c6ffbc17.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJub6e9THQn5i_b2og9NfA06swqm4pq0vpKgYnzVfIC8tB553eKLjUn9IjHENjVBEWPCKLGO9JCf12hxuDj3sjM1VP74vOUJ7Yu1-N3imk0oAjJif7mFlfa5T6QdQlHnYZ8TE_biDccmKl/s1600/oop-c6ffbc17.jpg" /></a></div>
<br /></div>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="font-size: large;">البرمجة الموجهة نحو الحدف او </span><span style="font-size: large;">البرمجة شيئية المنحى <span dir="RTL" lang="AR-SA">هي أسلوب
برمجة يسهل على المبرمج كتابة البرنامج عن
طريق تجسيد عناصر البرنامج في شكل وحدات محسوسة بستخدام
الكائنات والعناصر والدوال مثال إذا أردنا
برمجة لعبة سباق سيارات فإن الكائنات ستكون السيارة و المتسابق و المضمار و
المشجعين </span></span></span><br />
<a name='more'></a><span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="font-size: large;">فمثلا كائن السيارة سيحتوى على سبيل المثال على العناصر التالية أسم السيارة - سرعة
السيارة - ماركة السيارة ,نستطيع أن نقول أن البرمجة الموجهة او ال oop هي الفيصل
بين برمجة الرعاع و المحترفين المثال السابق بيدو غير مفهوم و لذالك دعونا نعيد شرحه بالكود.</span></span></div>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="font-size: large;">الكود التالي
يشرح المثال السابق وهو لا يمثل لغة برمجة معينة:-</span></span></div>
<div class="MsoNormal" style="text-align: left;">
<br />
<div style="text-align: left;">
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"><code>Class car
</code><code><code></code>}
Car name</code><code>
Car speed
Car model
Move()
Stop()
Speedup()
{
Class man
}
Man name;
Man age;
{
</code></pre>
</div>
</div>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span style="font-size: large;"><br /></span></span></div>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="font-size: large;">كما سبق
يمثل الكائن car السيارة يحتوى على عناصر مثل car name:إسم السيارة و car speed سرعة السيارة ودوال move() و stop () فمثلا تستخدم الدالة </span><span dir="RTL" lang="AR-SA" style="font-size: large;"><span dir="RTL" lang="AR-SA">move() </span>لتحريك السيارة
والدالة </span><span dir="RTL" lang="AR-SA" style="font-size: large;"><span dir="RTL" lang="AR-SA">stop()</span> للتوقف والدالة speedup لرفع سرعة السيارة,</span></span></div>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="font-size: large;">ستتضح
الصور عندما نطبق عليها لغة برمجة .</span></span></div>
<div align="right" class="MsoNormal" style="text-align: right;">
<br />
<h3 style="text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="font-size: large;">لماذا علي
البرمجة بال</span><span dir="RTL" lang="AR-SA" style="font-size: large;"><span dir="RTL" lang="AR-SA">oop</span>:</span></span></h3>
</div>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="font-size: large;">لنحضر
مبرمجين أحدهما محترف يبرمج بالoop والأخر </span><span dir="RTL" lang="AR-SA" style="font-size: large;">مبتدئ</span><span dir="RTL" lang="AR-SA" style="font-size: large;"> يكتب الكود مباشرة من دون تفكير ولنطلب منهما كتابة نفس البرنامج قد
نحصل على البرنامج نفسه من المبرمجين هذا ما يبدو ولأكن عندما نفتح البرنامج سنجد
المبرمج </span><span dir="RTL" lang="AR-SA" style="font-size: large;">مبتدئ </span><span dir="RTL" lang="AR-SA" style="font-size: large;">كتب
البرنامج في حوالي 3000سطر أو أكثر بينما المبرمج المحترف لا يتجاوز عدد سطور
البرنامج 1000 هذه نقطة للoop.</span></span></div>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span style="font-size: large;"><br /></span></span>
<br />
<h3 style="text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="font-size: large;">عدد سطور
اقل:</span></span></h3>
</div>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="font-size: large;"> إذن بواسطة oop نحصل على عدد سطور اقل لماذا ببساطة
لان الoop تمكننا من إعادة استخدام الكود ولنفترض أننا احتاجنا لنفس الكود في عدة أجزاء
من البرنامج سيقوم المبرمج المحترف بوضع الكود داخل دالة وكالما أحتاج إليه قام
بكتابة أسم الدالة فقط بينما المبرمج المبتدئ سيكتب الكود كامل في كل مرة يحتاج
إليها.</span></span></div>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span style="font-size: large;"><br /></span></span>
<br />
<h3 style="text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="font-size: large;">السرعة:</span></span></h3>
</div>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="font-size: large;">لنفترض أن
المبرمج المبتدئ كتب الكود في شهر بالتاي سيكون المبرمج المحترف كتب البرنامج في أسبوع
واحد لان أمامه 1000سطرفقط أما المبرمج المبتدأ أمامه 3000 سطر كما أسلفنا سابقا.</span></span></div>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span style="font-size: large;"><br /></span></span>
<br />
<h3 style="text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="font-size: large;">تتبع الأخطاء
:</span></span></h3>
</div>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="font-size: large;">ولنفترض أن
البرنامج حدث فيه خطاء أيهما سيصل إلى السطر الذي فيه الخطاء أسرع بالتأكيد سنجد أن
المبرمج المحترف سيصل إلى الخطأ بسرعة لسببين 1-أمامه 1000 سطر
فقط 2-البرنامج سيكون مقسم إلى أجزأ كل
ما عليه هو الذهاب للكائن الذي يحوى الخطاء فقط بينما المبتدئ أمامه 3000 سطر غير
مفهومة و بدون ترتيب .</span></span><br />
<span style="font-family: inherit;"><span style="font-size: large;"><br /></span></span>
<span style="font-family: inherit;"><span dir="RTL" lang="AR-SA" style="font-size: large;">كانة هذه نظرة سريعة حول مفهوم ال oop وسنتطرق لدروس برمجية حوله إنشأ الله. </span></span></div>
<div align="right" class="MsoNormal" style="text-align: right;">
<br /></div>
<div align="right" class="MsoNormal" style="text-align: right;">
<br /></div>
</div>
Anonymoushttp://www.blogger.com/profile/12802389062209938364noreply@blogger.com0tag:blogger.com,1999:blog-2002982027821494290.post-87455363986057687352014-08-12T02:30:00.000-07:002014-12-06T22:50:53.463-08:00أساليب تحليل البرامج<div dir="rtl" style="text-align: right;" trbidi="on">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>AR-SA</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><span style="font-family: inherit;"><br /></span>
<!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"جدول عادي";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
</style>
<![endif]-->
<br />
<div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYsLyhol2cjUo_0pVDN8yd5ehRuFZMfjefMktB8SuGZj0b6SaBORh-vd5yc1YEdS_XBxrWs8MAH1Tr4QVNHXIIFTEnPWW17l1kf_cuVw9HNUvGmGv-t6xCVlzA_sR7TnBFjVdYN_x2NsaU/s1600/Search-engine-positioning.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYsLyhol2cjUo_0pVDN8yd5ehRuFZMfjefMktB8SuGZj0b6SaBORh-vd5yc1YEdS_XBxrWs8MAH1Tr4QVNHXIIFTEnPWW17l1kf_cuVw9HNUvGmGv-t6xCVlzA_sR7TnBFjVdYN_x2NsaU/s1600/Search-engine-positioning.jpg" height="291" width="400" /></a></span></div>
<div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: inherit;"><br /></span></div>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span style="font-size: large;"><br /></span></span></div>
<span style="font-family: inherit;"><span style="font-size: large;">
</span></span><br />
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span style="font-size: large;"><span dir="RTL" lang="AR-SA">كيف تظن أن
شركات البرمجة تبدأ ببناء برامجها بالتأكيد لا يقوم موظفوها بفتح
المحرر والبدء في الكتابة كما نقوم نحن المبتدئين عندما تقوم مثل هذه الجهات أو مبرمجون المحترفين
عملية بنأ برنامج فأنه يفكر أولا ما هو هدف البرنامج ا وما هو المطلوب</span></span></span><br />
<a name='more'></a><span style="font-family: inherit;"><span style="font-size: large;"><span dir="RTL" lang="AR-SA"> منه
بالتحديد وكيف سيكون شكل البرنامج و أجزاء البرنامج وتسلسل عمل البرنامج كل هذه
المعلومات تلخص في مخططات وقد تم توحيد </span></span></span></div>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span style="font-size: large;"><span dir="RTL" lang="AR-SA">هذه المخططات فيما يسما لغة النمذجة
الموحّدة </span> (Unified Modeling
Language) أو ( UML).</span></span></div>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"></span></div>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"></span> </div>
<span style="font-family: inherit;"><span style="font-size: large;">
</span></span><br />
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><br /></span></div>
<h3 class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;">
<span style="font-size: large;"><span dir="RTL" lang="AR-SA"> </span>Unified Modeling
Language:</span></span></h3>
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span style="font-size: large;"><span dir="RTL" lang="AR-SA">هي
ببساطة طريقة رسوميه لوصف البرامج والأنظمة وطريقة عمالها وهي تتكوم من مجموعة
كبيرة من المخططات ,بما أنك تعمل بمفردك فلن تحتاج إلى جميع المخططات وستستعمل
المخططات الأساسية منها فقط وربما إذا كأنة برامجك صغير ربما لن تحتاج إلى uml اصلا لانه يحتوى الكثير من المخططات التي قد
لاتحتاج إليها ويعد هذا تضيع للوقت فقط
وستستعمل طرق أبسط فل uml يستخدم غالبا
للبرمجيات الضخمة لست هنا بصدد الإسهاب فيه وسيكون لها تدوينات أخرى إنشأ الله . </span><span lang="AR-SA"> </span></span></span></div>
<span style="font-family: inherit;"><span style="font-size: large;">
</span></span><br />
<div class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span style="font-size: large;"> <span dir="RTL" lang="AR-SA"> </span></span></span></div>
<h3 class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;">
<span style="font-size: large;"><span dir="RTL" lang="AR-SA"> التحليل
بواسطة العصف الذهني: </span></span></span></h3>
<span style="font-family: inherit;"><span style="font-size: large;">
</span></span><br />
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span style="font-size: large;">قد تكون قد سمعة به من قبل أولم تسمع به على كل حال العصف الذهني هي
طريقة جماعية للإيجاد اكبر قدر من الحلول لمشكلة معينة وهو فعال مع البرامج ,عند استخدام العصف الذهني
لتحليل البرامج نضع فكرة البرنامج في
المنتصف ونحاول التفكير في كل الأفكار المتعلقة بها أو المتفرعة منها أهم نقاط في استخدام العصف
الذهني هي عدم إقصاء أي فكر و الحرص على مساركة جميع في طرح جميع الأفكار
,بعد الانتهاء من جمع جميع الأفكار المتعلقة بالبرنامج يمكننا إقصاء أو التميز بين الأفكار المتعلقة بالبرنامج حتى نحصل على وصف مناسب للبرنامج يمكننا بناء
البرنامج عليه قد يبدو هذا الكلام غريب على من لا يعرف العصف الذهني لذالك قم
بدراسة العصف الذهني أولا *ملحوظة العصف الذهني ليست طرية لتحليل البرامج فقط وإنما هي أسلوب لرسم طريقة التفكير او حل المشاكل
وتستخدم في مجالات تقنية أخرى.</span></span></div>
<span style="font-family: inherit;"><span style="font-size: large;">
</span></span><br />
<div align="right" class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><br /></span></div>
<h3 class="MsoNormal" style="text-align: right;">
<span style="font-family: inherit;"><span style="font-size: large;"><span dir="RTL" lang="AR-SA">التحليل باستخدام السيناريو:-</span></span></span></h3>
<span style="font-family: inherit;"><span style="font-size: large;">
</span></span><br />
<div align="right" class="MsoNormal" style="tab-stops: 99.75pt; text-align: right;">
<span style="font-family: inherit;"><span style="font-size: large;"><span dir="RTL" lang="AR-SA">أعتقد أنها أسهل طريقة بالنسبة إليك كمبرمج مبتدأ أو قد تكون متمرس لأكنك
تبرمج برنامج مصغر ببساطة تخيل انك تستعمل برنامجك ألان ستقوم بتسجيل الدخول إذن
سيكون لدينا مربع الاسم وكلمة المرور ثم ستفتح الأخبار إذن سيكون هنالك زر لعرض الأخبار,يقابل هذه الطريقة في الuml مخططات ال dfd او use case.</span></span></span></div>
</div>
Anonymoushttp://www.blogger.com/profile/12802389062209938364noreply@blogger.com0