الصفحة الرئيسية
المزايا
المشروع
روابط مفيدة
تنزيل
الأسئلة الشائعة
النسخة القديمة

CodeIgniter Framework:

CodeIgniter is a toolkit for people who build web application using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. It's extremely light weight, fast, and uses MVC.

For more information check CodeIgniter User Guide
 

Ar-PHP Component:

This tutorial show how to get CodeIgniter Component wrapper class created to take advantage of the functionality provided by Ar-PHP library.
 
  1. Download CodeIgniter (click here).
     
  2. Unpack into your web-server.
     
  3. Drag the application folder outside of the system folder (not necessary but considered good practice), keep only application and system folders, the rest is documentation, you should not upload it to your webserver.
     
  4. The structure looks like this:

    webroot/cifolder/application/
            /system/
            /index.php

     
  5. Download Ar-PHP (click here).
     
  6. Unpack and put the Arabic folder AND the main class Arabic.php into the libraries folder of your application folder.
     
  7. The structure looks like this:

    webroot/cifolder/application/
            /application/libraries/
                    /libraries/Arabic/
                    /libraries/Arabic.php

     
  8. Refer to the CI documentation for configuration (mostly 'autoload.php', 'config.php', 'routes.php').
     
  9. Simple example of usage:

    - Controller (called here 'arabtest.php')
    - View (called here 'arabic_view.php')
    - Sample output (click here)

Configuration options:
If you want to always use Ar-PHP on your site, consider adding Arabic.php in:
application/config/autoload.php

Optional parameters can be added in the config.php file in the same folder or you can create your own application/config/ar-php.php configuration file, please refer to the Codeigniter documentation.

Many thanks to Ms. Fabienne Hadek

إطار عمل CodeIgniter:

يعتبر CodeIgniter أداة موجهة لمن يقوم ببناء تطبيقات ويب باستخدام PHP. هدفها تمكينك من تطوير مشاريع بشكل أسرع مما تستطيع أن تقوم به لو كنت تكتب الشيفرة البرمجية من الصفر، وذلك من خلال تزويدك بمجموعة غنية من المكتبات لما تحتاجه من وظائف شائعة، بالإضافة إلى واجهة بسيطة وبنية منطقية للوصول إلى هذه المكتبات. وهي تعد إطار عمل فائق الخفة وسريع وهو يستخدم أيضا تقنية MVC.

للمزيد من المعلومات يمكنك العودة إلى دليل استخدام CodeIgniter
 

عنصر Ar-PHP:

يظهر هذا الدليل التعليمي كيف يمكن الحصول على صنف مغلف لعنصر CodeIgniter أنشئ للحصول على الوظائف المقدمة بواسطة مكتبة Ar-PHP.

 
  1. تحميل CodeIgniter (انقر هنا).
     
  2. فك ضغطه وانشره على مخدم الويب لديك.
     
  3. اسحب مجلد التطبيق إلى خارج مجلد النظام (ليس ضروريا لكنه يعتبر عادة جيدة)، ابق على مجلدي التطبيق والنظام فقط، البقية هي توثيق، ولا يجب عليك تحميلها إلى مخدم الويب خاصتك.
     
  4. ستبدو البنية كالتالي:

    webroot/cifolder/application/
            /system/
            /index.php

     
  5. تحميل Ar-PHP (انقر هنا).
     
  6. قم بفك الضغط ووضع مجلد Arabic والصنف (الكلاس) الرئيسي Arabic.php في مجلد المكتبات الخاص بمجلد تطبيقك.
     
  7. ستبدو البنية كالتالي:

    webroot/cifolder/application/
            /application/libraries/
                    /libraries/Arabic/
                    /libraries/Arabic.php

     
  8. يمكنك العودة إلى توثيق CI من أجل الإعدادات (في الغالب 'autoload.php' و 'config.php' و 'routes.php').
     
  9. المثال البسيط المستخدم:

    - المتحكم (يدعى هنا 'arabtest.php')
    - الإظهار (يدعى هنا 'arabic_view.php')
    - مثال عن الخرج (إنقر هنا)

خيارات الإعدادات:
إن أردت استخدام Ar-PHP بشكل دائم في موقعك، فعليك إضافة Arabic.php إلى:
application/config/autoload.php

يمكن إضافة وسطاء اختياريين ضمن ملف config.php في ذات المجلد أو يمكنك إنشاء ملف الإعدادات الخاص بك application/config/ar-php.php، الرجاء العودة إلى توثيق Codeigniter.


جزيل الشكر للآنسة فابيني هادك
Never underestimate the power of human stupidity.
إياك أن تقلل من قدر الغباء البشري
Index | Features | ArPHP Project | Useful Links | Download | PHP4!!!

Copyright © 2006 - 2021 Khaled Al-Sham'aa. All Rights Reserved | Sourceforge.net | GitHub.com | Terms Of Use

 

  If not now when? If not you and me who else? | إن لم يكن الآن فمتى؟ إن لم تكن أنت وأنا فمن غيرنا؟