QUOTE (justsomeguy @ Jun 9 2009, 10:53 PM)

Thanks for commenting.
With regard to WhizBase vs. PHP, can you comment on the differences between WhizBase and PHP with no extensions? Can WhizBase essentially do everything that PHP with no extensions can do, or are there limitations? I realize that PHP extensions like GD or the PDF stuff would probably do things that WhizBase wouldn't, so I'm just asking about the "core" PHP libraries. Would you say that you could use WhizBase to implement most PHP applications? Does WhizBase only output to HTML, or can you control the output of it?
Hi justsomeguy,
I see that this topic is going better than I expected, I made a simple comparison as I know, there may be some mistakes
OS Support:
PHP can be installed on Unix, Mac OS and Windows.
WBSP can be installed on Windows.
Working with variables:
PHP and WBSP can work with variables.
Working with arrays:
PHP have more functions working with arrays.
WBSP have all basic functions of slicing, sorting and manipulating with arrays.
Working with expression:
PHP can work with basic and regular expressions.
WBSP work with the basic expressions.
Basic Math:
PHP and WBSP have basic math support, you can do basic math operations built-in.
Control Structures:
PHP and WBSP have basic control structures like IF and Switch.
Loop Structures:
PHP supports while, for, Foreach and do while.
WBSP supports while and "sub reports".
Custom functions:
In PHP you can create your own custom functions.
In WBSP you can use sub reports as an alternative, you can not make your own custom functions yet.
OOP support:
PHP supports OOP.
WBSP does not support OOP.
Installation mode:
PHP and WBSP can work as CGI and as apache module.
Filesystem security:
PHP have a lot of filesystem security holes, but you can work with the filesystem easily.
WBSP have limited support for working with filesystem, it uses VBScript and JS to do some things, but if you limit something you do not have security holes.
DB security:
PHP have a lot of DB security holes, an experienced programmer can leave the application easy for hackers.
WBSP have a strong security and filtering automated, you connect to the DB with defined functions for that.
Error reporting:
PHP have a powerful error reporting system, but you can not make custom error reporting easily.
WBSP have a basic error reporting system, but you can make your own custom error reporting messages very easily.
Cookies:
WBSP have easier access to cookies than PHP.
Sessions:
PHP supports sessions and that is one of its power sides but it is also a security problem if the developer does not care.
WBSP does not support sessions, it have a limited session system with uploading files and other functions.
File upload:
PHP handles file uploading.
WBSP handles file uploading and multiple file uploading with less code, and it has built-in progress checker for how many bytes have been uploaded to be used with AJAX or IFRAME.
Server Administrator control:
PHP supports administration on the server with PHP.INI and some functions.
WBSP have better and wider control, you can control even which user can use which functions and structures.
Ease of DB connections:
PHP supports connection with the DB with multiple functions.
WBSP have easier code to connect to the DB it has a built-in functions to do the whole work for you.
DB pagination:
PHP does not support pagination, you must write the code your self .
WBSP have built in pagination of the DB result, and it is one system for all DBs.
Non programmers in mind:
PHP is difficult for learning if you are not actually a programmer, it have C like syntax and you need more knowledge to use it.
WBSP have taken non-programmers in mind, it is designed to be easy to learn for non programmers, you do not need to know a lot to make a useful program.
Access and Excel DB:
WBSP have better support and it is easier to connect with Access and Excel than PHP.
Syntax:
PHP have C like style.
WBSP is smiler to ColdFusion it is embedded directly to HTML and it is easier to code.
I hope this simple comparison is enough, WBSP is for making websites faster and easier, PHP is more powerful but not easy to learn and work with. PHP is a programming language for me, WBSP is a scripting language. I prefer to use PHP when I am working something complicated, and prefer to use WhizBase when I need simple applications and web pages. The most thing I like in PHP is the number of the functions, you have hundreds of them. The most thing I like in WBSP is how easy to connect and work with a DB and its built in pagination.