How D may replace PHP & ASPX on the Web!!!
Matthew Ong
ongbp at yahoo.com
Mon Jul 18 09:25:55 PDT 2011
Hi All,
Here are some ideas of how to position D that may actually capable of
replacing some major web framework like PHP/ASPX.
Many PHP and ASPX sites are being used because they are easy to support
development with IDE like(ASPX) or PHP with plenty of ready made
platforms like nuke/joomla/others... They may not be high performance
or mission critical, but they are welcome by plenty of novice developers
and also many professional one also.
I am NOT trying to sell a CRM product here, so
https://www.sugarcrm.com/crm/ondemand_eval.html
This is a rather comprehensive professionally implemented CRM coded in
PHP. Now, SugarCRM is being use not because all web pages are CRM
product, but to show how a professional product is implemented in PHP.
Have a look into this TOC:
https://www.sugarcrm.com/crm/support/documentation/SugarCommunityEdition/6.2/-docs-Developer_Guides-Sugar_Developer_Guide_6.2.0-toc.html
Developer Tools --> Module Builder
D in the web page rendering may wish to provide:
1) Support for international users group via a single standardize:
1.1) standardize the locale config and switching.
1.2) currency format
1.3) date time format / timezone automatically calculated.
1.4) others..
2) Support skin theme switching and customization. This will
3) Support User Logins and ACLs of Menu and web forms. There is
a build in session tracking ability. There should be at least
these type of user control level:
- Admin (administrator of website, aka super user)
- back office staffs (simple non-it staff that can)
- registered user (provide login/password/registration)
- public user
4) Support customization of forms and also building new module on the
fly. See: Developer Tools --> Module Builder in sugarcrm below.
Those modules can be easily develop on one machine and zip up for
exporting to another machine via uploads.
5) Allow developer to paste in new code updates into some form of hooks
that connects to a form post or button events. Business Logic Hooks.
https://www.sugarcrm.com/crm/support/documentation/SugarCommunityEdition/6.2/-docs-Developer_Guides-Sugar_Developer_Guide_6.2.0-Sugar_Developer_Guide_6.2.0.html#9003722
6) Support Extension like plugins to be developed.
7) Support multiple platforms including some mobiles
devices.
This is NOT to say that other people will not be permitted to use D to
build a web framework, but if there is a compilable and working
reference implementation that demonstrate such abilities, it will point
D web developers to the right directions.
That document is easy to read and also has already a working product
along with data samples to play around with.
Because PHP is a runtime interpreted language, the module builder is
able to create sometime on the fly during development. However, I do
see that D already has this ability with the new TryNow buttons.
The whole idea about building a programming language is to have many of
adoptions by the developers and is visible by plenty of end users that
does not know nor care about programming language. But, they will
recommend to others.
PHP server if you do not have one installed already.
https://www.sugarcrm.com/crm/download
pick the FastStack Installer.
http://www.sugarcrm.com/crm/download/helper.html?dl=/frs/download.php/8274/sugarcrm-CE-6.2.1-windows-installer.exe
Love to hear some comments about this one.
--
Matthew Ong
email: ongbp at yahoo.com
More information about the Digitalmars-d
mailing list