إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية

         :: تفسير حلم تساقط الأسنان (آخر رد :نوران نور)       :: رموز الحيوانات في المنام (آخر رد :نوران نور)       :: تفسير حلم كلاب تهاجمني (آخر رد :نوران نور)       :: تفسير حلم اخو الزوج يقبلني (آخر رد :نوران نور)       :: تفسير حلم اخو الزوج يقبلني (آخر رد :نوران نور)       :: رؤية الولد الجميل في المنام (آخر رد :نوران نور)       :: رؤية قص الشعر في المنام (آخر رد :نوران نور)       :: تفسير حلم حناء اليد (آخر رد :نوران نور)       :: حلمت اني قصيت شعري وكنت فرحانه (آخر رد :نوران نور)       :: تفسير حلم الزعل (آخر رد :نوران نور)      

إضافة رد
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 06-18-2009, 06:31 PM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,612
عدد الـنقاط :3341
 تقييم المستوى : 2139

Hey,

I am going to talk a little about the approach I am taking with phpWebSite 2.0. I started 1.x about four years ago. I had an idea of what I wanted but it was kinda new territory. As such, many of the beginning modules and core classes reflect my coding ability at the time. Time has passed I find myself looking back at the early core modules and classes and scratching my head. Why did I do this that way? Is it the best way?

So since we are popping a new number, I am taking the opportunity to go through every class and module and see if there is a better way.

I started with setup first. The current setup is the same hack I put together to get 1.0 to install for testing. I never really improved upon it. So the setup process will get a huge upgrade.

As I was going through Setup, I noticed there were far too many hacks to get phpWebSite to install. This shouldn't be the case. While trying to clean up the setup process, I decided the Core classes were themselves kludgy. So I have put Setup to the side and started going through these classes instead.

Currently, I am working through the Database class along with Init. The biggest change with Database is updating the PEAR dependency. Database in 1.x uses the PEAR DB class. They stopped supporting this a few years ago. It is stable, it just isn't getting any developer love. Instead, PEAR is updating MDB2. This database class is a lot like MDB2 but with more features and better ease-of-use. Some of these features will expand the capabilities of PHPWS_DB.

Real quick, here are some features that we may see in 2.0:
1) No more install.sql files. Instead, database independent structure descriptions that should easily import into any database os.
2) Simplified access to the MDB2 connection. This will let you call MDB2 methods directly.
3) Methods allowing row selections on demand
4) Better database compatibility outside of just MySQL and Postgresql.

Hopefully, the database class will be cleaner and have more options. There shouldn't be much of any compatibility loss.

While working, I am also experimenting with error detection and reporting. First, I am adding exceptions for fatal flaws. Second, I added support for FireBug logging. It is terrific. Instead of using test() you use fb_test(). Click on your little FireBug icon and you get a report of the problem. I figure you will be able to toggle this on and off for your site. If you are having site problems, you can debug on production if you have to because nothing is outputted to the screen.


I will try and post more information as I go.

Best regards,
Matt
__DEFINE_LIKE_SHARE__
رد مع اقتباس
إضافة رد

مواقع النشر (المفضلة)


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة


المواضيع المتشابهه
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
Forum Search Core and Search Core Text tables are half my database? محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 07-23-2010 04:10 AM
3.8.1 L sent me e-mail with Class.core.php 311 Database error محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 02-27-2010 02:50 AM
أريد معرفة الفرق بين core 2 duo و core 2 quad وأيهما أحسن في مجال الألعاب محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 07-01-2009 10:10 PM
ايهما افضل المعالجIntel Core 2 Duo او Intel® Core 2 Quad هل في احسن منهم ؟ محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 04-17-2009 02:30 PM
ايهما افضل المعالجIntel Core 2 Duo او Intel® Core 2 Quad هل في احسن منهم ؟ محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 04-17-2009 02:26 PM


الساعة الآن 08:34 PM


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML