Page 1 of 1

introduce a new technology that may replace php.

Posted: Mon Feb 06, 2012 11:43 pm
by lotusin1
As we know. Web apps need to write client side and server side scripts by php,jsp,cgi or fastcgi etc. and Static html file need to write by HTML. So normally we need to merge both html and dynamic scripts into one web file. This make web design and scripts coding two types of work. Even two types of professional skill to our career. Certainly this type of divide have it’s rationality because web deign and dynamic programming have their characters each. But it also make incovenient. If a web designer want to write some simple dynamic business logic. The designer need to call an programmer(php,asp,jsp,java,cgi) to implement it because use php or other languages to develop needs bits of skill.

Html is made for interface represtation. Even every one in the web industry should know a bit of html. Is it possible to make html's extension get more usage? Like writing some dynamic scripts? To Low Technical Difficulties and save the money. Just write several lines of html to replace hundreds lines of php?

The difficulty is that html is not designed for dynamic scripts coding. So introduce some new “HTML” tags. Use these tags to boost the web developing. This is new technology that called tagcgi.

There are two open source projects using tagcgi that files are purely written by HTML without any server side scripts like php,jsp….
The one is Cgiblog whih is a open source blog system that only have eighty lines of “html”. If you implement is by php. This will cost thousands of lines. cgiblog even can faster than fastcgi c++ in server side benifit from the framework of tagcgi.

The other is rtupdate that is a open source forum which can update by real time(auto refreshing content)
This is the performance comparsion between php and tagcgi according to wordpress,typecho,lighttpd fastcgi c++ and tagcgi.

Image

reference from http://www.cgiblog.com

Re: introduce a new technology that may replace php.

Posted: Tue Feb 07, 2012 12:19 am
by twinedev
To late, you are not introducing it, someone else already posted about it here... I'd give the link to it, but just searched and since it isn't here, guess the moderators killed the thread.... The other thread claimed that you could write applications with nothing but HTML..

Re: introduce a new technology that may replace php.

Posted: Tue Feb 07, 2012 3:36 am
by lotusin1
Yeah,I would rather explore the basic theory that it count for.

It actually composite some basic functionality into " html tag" and execute with the specified web service. There are only html on the web with specific tags in html files. but sql,shells or pure c++ functions on the backend server.

like this:

<div id="business_1" ParaRule="loginfino"></div>
<div class="logininfo" name="username"></div>
<div class="logininfo" name="password"></div>

It means input "username" and "password" to login in. the login business map to the business 1 which implemented by sql,shell or pure c++ functions on server.

<div id="business_8" SessionId=1 ShowRule="show1" ParaRule="para1" ShowId="showhere" MaxShowNumber=10 NextBus=10 MaxShowNumber=10></div>

: In the condition of successfully execution of business 1. business 8 should execute. It fill datas using format of "show1" into the position "showhere". It is convenient to conduct multiple lines of data backing special for one line data contain multiple lines of data. So hundreds lines of php codes may compress into several lines of "html".
NextBus=10 means. It will exectute 10 after execution of 8.