Categories

Blogroll

Sponsored Link

4 October 2007 - 9:02php Development Frameworks

what is php Development Framework? they are the tool that make anyone with any level can design php website easy and fast.Most of them are written by MVC parterns.They are just like a large PHP CLASSES which can do anything.You can try them if you have no time and just learning php in a short time.I think those frameworks would make much more codes that some of the scripts are unnecessery, and this may affect the code runing at the same time. It would take a long time to run them.

there are many frameworks now,you can search them on google. for example:

  1. Qcodo Development Framework
    The Qcodo Development Framework is an open-source PHP 5 framework that focuses on freeing developers from unnecessary tedious, mundane coding.The result is that developers can do what they do best: focus on implementing functionality and usability, improving performance and ensuring security.

    It is a completely object-oriented framework that takes the best of PHP and provides a truly rapid application development platform. Initial prototypes roll out in minutes instead of hours. Iterations come around in hours instead of days (or even weeks). As projects iterate into more cohesive solutions, the framework allows developers to take prototypes to the next level by providing the capability of bringing the application maturity.

    The framework consists of two main components: the Code Generator and Qforms (see below for more). While the framework was designed to support the complexities of large projects, it is an incredibly lightweight framework which can be utilized by small and large web applications alike.

  2. CakePHP

    Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.

  3. ZOOP Zoop is an object oriented PHP framework. Zoop is modeled after the MVC design pattern. It is a high performance, secure, and scalable framework for PHP. It is designed to be very fast and efficient and very nice for the programmer to work with. Zoop has been built in a modular way so it is both easily extensible, and light. It has been in development and production use since 2001 and is quite mature.

No Comments | Tags: Script

1 October 2007 - 22:50invalid xhtml elements

Today design a site underl w3c xhtml rule.some elements offten make mistakes.

  1. In url “&” must change to “&”
  2. <h2></h2> between them you can include other elements like <a>, but you can include <h2> in tags <a>.
  3. like <ul></ul>, you must include child elements in them, or there would be a error.
  4. you must close all of the tags.

No Comments | Tags: Script

30 September 2007 - 14:54wikipedia (mediawiki) using experience

if you don’t know what is wikipedia you can visit http://www.mediawiki.org/, it is the offical website of the project.

wikipedia is a famous wiki project based on PHP/MYSQL/other database.There are many websites used it to be successed. Like http://www.wikipedia.org.

The wikipedia is simple to use but has lots of functions. there is just a disadvantage that it has not a perfect admin cpanel.

you must be attention to some extra config in LocalSettings.php.

// set group rights to guest

$wgGroupPermissions[’*'    ][’createaccount’]   = true;
$wgGroupPermissions[’*'    ][’read’]            = true;
$wgGroupPermissions[’*'    ][’edit’]            = true;
$wgGroupPermissions[’*'    ][’createpage’]      = true;
$wgGroupPermissions[’*'    ][’createtalk’]      = true;

// set rights to register user

$wgGroupPermissions[’user’ ][’move’]            = true;
$wgGroupPermissions[’user’ ][’read’]            = true;
$wgGroupPermissions[’user’ ][’edit’]            = true;
$wgGroupPermissions[’user’ ][’createpage’]      = true;
$wgGroupPermissions[’user’ ][’createtalk’]      = true;
$wgGroupPermissions[’user’ ][’upload’]          = true;
$wgGroupPermissions[’user’ ][’reupload’]        = true;
$wgGroupPermissions[’user’ ][’reupload-shared’] = true;
$wgGroupPermissions[’user’ ][’minoredit’]       = true;
$wgGroupPermissions[’autoconfirmed’][’autoconfirmed’] = true;

// set rights to serchengine bot
$wgGroupPermissions[’bot’  ][’bot’]             = true;
$wgGroupPermissions[’bot’  ][’autoconfirmed’]   = true;

// set extra rights to admin

$wgGroupPermissions[’sysop’][’block’]           = true;
$wgGroupPermissions[’sysop’][’createaccount’]   = true;
$wgGroupPermissions[’sysop’][’delete’]          = true;
$wgGroupPermissions[’sysop’][’deletedhistory’]  = true;
$wgGroupPermissions[’sysop’][’editinterface’]   = true;
$wgGroupPermissions[’sysop’][’import’]          = true;
$wgGroupPermissions[’sysop’][’importupload’]    = true;
$wgGroupPermissions[’sysop’][’move’]            = true;
$wgGroupPermissions[’sysop’][’patrol’]          = true;
$wgGroupPermissions[’sysop’][’protect’]         = true;
$wgGroupPermissions[’sysop’][’rollback’]        = true;
$wgGroupPermissions[’sysop’][’upload’]          = true;
$wgGroupPermissions[’sysop’][’reupload’]        = true;
$wgGroupPermissions[’sysop’][’reupload-shared’] = true;
$wgGroupPermissions[’sysop’][’unwatchedpages’] = true;
$wgGroupPermissions[’sysop’][’autoconfirmed’]   = true;

1 Comment | Tags: Script

25 September 2007 - 9:20Rank Of Language Projects

php is so great without any commany background, and gets a high point.It’s so
useful and simple that so many users are inserted in.May be I should start
another project based on php.














































Position
Sep 2007
Position
Sep 2006
Programming Language Ratings
Sep 2007
Delta

Sep 2006
Status
1 1 Java 21.701% +0.17%   A
2 2 C 14.908% -3.15%   A
3 4 (Visual) Basic 10.748% +0.12%   A
4 5 PHP 10.204% +1.08%   A
5 3 C++ 9.938% -0.82%   A
6 6 Perl 5.416% -0.01%   A
7 8 C# 3.583% +0.59%   A
8 7 Python 3.025% -0.12%   A
9 9 JavaScript 2.722% +0.28%   A
10 13 Ruby 2.065% +1.13%   A
11 12 PL/SQL 1.860% +0.82%   A
12 11 SAS 1.395% -0.54%   A
13 16 D 1.370% +0.82%   A
14 10 Delphi 1.224% -0.88%   A
15 17 ABAP 0.706% +0.15%   A–
16 14 Lisp/Scheme 0.633% -0.02%   B
17 15 COBOL 0.630% +0.07%   B
18 50 Lua 0.572% +0.51%   B
19 19 Ada 0.566% +0.03%   B
20 21 Fortran 0.478% +0.08%   B

No Comments | Tags: Script

16 September 2007 - 10:12How to build a free english course website

English is used so widely in the world that more and more people prepare to learing it.This is a chance for business and programmer.There are already some e-learning systems.If you want to bulid a free english course website you must be very instrest in that systems.I have tried some systems already.There are three system that are good for recommended to you, and they are all free,opensource project.

Moodle

Moodle is a course management system (CMS) - a free, Open Source software package designed using sound pedagogical principles, to help educators create effective online learning communities. You can download and use it on any computer you have handy (including webhosts), yet it can scale from a single-teacher site to a 40,000-student University.
offical: http://www.moodle.org/

ATutor

ATutor is the first fully inclusive LCMS, complying with the W3C WCAG 1.0 accessibility specifications at the AA+ level, allowing access to all potential learners, instructors, and administrators, including those with disabilities who may be accessing the system using assistive technologies. Conformance with W3C XHTML 1.0 specifications ensures that ATutor is presented consistently in any standards compliant technology.

ATutor has also adopted the IMS/SCORM Content Packaging specifications, allowing content developers to create reusable content that can be swapped between different e-learning systems. Content created in other IMS or SCORM comformant systems can be imported into ATutor, and visa versa. ATutor also includes a SCORM 1.2 Runtime Environment (LMS RTE3) for playing and managing SCORM based Sharable Content Objects (SCOs).
offical:http://www.atutor.ca/

Dokeos

Dokeos is an Open Source elearning and course management web application translated in 34 languages and helping more than 1.000 organisations worldwide to manage learning and collaboration activities.

offical:http://www.dokeos.com/

Choose a good system,then you is close to success building a good website.

3 Comments | Tags: Script

16 September 2007 - 9:48Security Enhancements and Fixes in PHP 5.2.4

  • Fixed a floating point exception inside wordwrap() (Reported by Mattias Bengtsson)
  • Fixed several integer overflows inside the GD extension (Reported by Mattias Bengtsson)
  • Fixed size calculation in chunk_split() (Reported by Gerhard Wagner)
  • Fixed integer overflow in str[c]spn(). (Reported by Mattias Bengtsson)
  • Fixed money_format() not to accept multiple %i or %n tokens. (Reported by Stanislav Malyshev)
  • Fixed zend_alter_ini_entry() memory_limit interruption vulnerability. (Reported by Stefan Esser)
  • Fixed INFILE LOCAL option handling with MySQL extensions not to be allowed when open_basedir or safe_mode is active. (Reported by Mattias Bengtsson)
  • Fixed session.save_path and error_log values to be checked against open_basedir and safe_mode (CVE-2007-3378) (Reported by Maksymilian Arciemowicz)
  • Fixed a possible invalid read in glob() win32 implementation (CVE-2007-3806) (Reported by shinnai)
  • Fixed a possible buffer overflow in php_openssl_make_REQ (Reported by zatanzlatan at hotbrev dot com)
  • Fixed an open_basedir bypass inside glob() function (Reported by dr at peytz dot dk)
  • Fixed a possible open_basedir bypass inside session extension when the session file is a symlink (Reported by c dot i dot morris at durham dot ac dot uk)
  • Improved fix for MOPB-03-2007.
  • Corrected fix for CVE-2007-2872.
  • No Comments | Tags: Script