Coming soon... CLinton!
CLinton is normally called Clinton.
Normal php page:
<?php //stuff here ?> <html> <head><title>Hello World!</title></head> <body> Hello World! </body> </html>
Clinton php page:
<?php
//stuff here
$cl = new Clinton;
$cl->load(array('html')); // loads the html plugin
$cl->makePage(array('title' => 'Hello World!', 'contents' => 'Hello World!')); // makes page
?>(Sample Clinton page contains a earrrrrrrrrlyyyyy version of Clinton, things might change)
See? much smaller!
Not only that, but Clinton can also connect with other languages (eg javascript)!
Last edited by comp500 (2011-10-18 12:31:48)
Offline
problem is, php requires server side processing power, it seems pointless to get the server to do needless work, and all it does is save you a couple of lines of code. I'm interested to see where this goes and what it ends up being, but at the moment, it seems a bit pointless to me.
Offline
rookwood101 wrote:
problem is, php requires server side processing power, it seems pointless to get the server to do needless work, and all it does is save you a couple of lines of code. I'm interested to see where this goes and what it ends up being, but at the moment, it seems a bit pointless to me.
hmm... maybe... its a bit like jquery but actually that was the html bit. it can save you time on things like communicating with javascript
Offline
It does kind of look like requiring more processing power than the HTML... I'm curious to see what this will turn into though
Offline
LS97 wrote:
It does kind of look like requiring more processing power than the HTML... I'm curious to see what this will turn into though
![]()
Offline
comp500 wrote:
rookwood101 wrote:
problem is, php requires server side processing power, it seems pointless to get the server to do needless work, and all it does is save you a couple of lines of code. I'm interested to see where this goes and what it ends up being, but at the moment, it seems a bit pointless to me.
hmm... maybe... its a bit like jquery but actually that was the html bit. it can save you time on things like communicating with javascript
I didn't say anything about jquery, and yes maybe it will in the future. As I said, I'm interested to see where it goes.
Offline
Here's my programming idea called Gui:
Normal HTML/PHP:
<title>Webber Cling - Demo Site</title>
<script type="text/css">
h {
font-family:arial;
color:black;
}
p {
font-family:arial;
color:black;
}
</script>
<html>
<head>
<h1>Webber Cling</h1><br />
</head>
<body>
<p>Welcome to Webber Cling!</p>
<br /><br />
<b>- Copryight 2011 - <?php echo $_SERVER['REMOTE_ADDR']; ?> -</b>
</body>
</html>NEW:
<gui?title="Webber Cling!"?include="h1?p?b?a?br"> [use [] to make a script comment. the include is to add parts of code. I added h1, p, b, a and br. they are just like html code] <h1?content="Webber Cling"?> [this is the header] <br?content="#"> [the # doesn't show. its just like using a blank link in html] <p?content="Welcome to Webber Cling!"> [this is the paragraph] <br?content="#"> <br?content="#"> <b?content="- Copyright 2011 - <?php echo $_SERVER['REMOTE_ADDR']; ?> -"> [and this is a b part, just like <b></b> in html]
Complex, eh?
Offline
WindowsExplorer wrote:
Here's my programming idea called Gui:
Normal HTML/PHP:Code:
<title>Webber Cling - Demo Site</title> <script type="text/css"> h { font-family:arial; color:black; } p { font-family:arial; color:black; } </script> <html> <head> <h1>Webber Cling</h1><br /> </head> <body> <p>Welcome to Webber Cling!</p> <br /><br /> <b>- Copryight 2011 - <?php echo $_SERVER['REMOTE_ADDR']; ?> -</b> </body> </html>NEW:
Code:
<gui?title="Webber Cling!"?include="h1?p?b?a?br"> [use [] to make a script comment. the include is to add parts of code. I added h1, p, b, a and br. they are just like html code] <h1?content="Webber Cling"?> [this is the header] <br?content="#"> [the # doesn't show. its just like using a blank link in html] <p?content="Welcome to Webber Cling!"> [this is the paragraph] <br?content="#"> <br?content="#"> <b?content="- Copyright 2011 - <?php echo $_SERVER['REMOTE_ADDR']; ?> -"> [and this is a b part, just like <b></b> in html]Complex, eh?
I can help you make it, if you want... implement it into Clinton...
Offline
rookwood101 wrote:
comp500 wrote:
rookwood101 wrote:
problem is, php requires server side processing power, it seems pointless to get the server to do needless work, and all it does is save you a couple of lines of code. I'm interested to see where this goes and what it ends up being, but at the moment, it seems a bit pointless to me.
hmm... maybe... its a bit like jquery but actually that was the html bit. it can save you time on things like communicating with javascript
I didn't say anything about jquery, and yes maybe it will in the future. As I said, I'm interested to see where it goes.
k
argh wrote:
At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
Offline
All I hsve to say, is put it on github
Offline
gbear605 wrote:
All I hsve to say, is put it on github
![]()
You. Are. Obsessed.
This does sound interesting, though....
But there needs to be a bit more umph in it before it really saves your time. I learned that when i made my very own php library, htmlLib.
Offline
ProgrammingFreak wrote:
gbear605 wrote:
All I hsve to say, is put it on github
![]()
You. Are. Obsessed.
![]()
This does sound interesting, though....
But there needs to be a bit more umph in it before it really saves your time. I learned that when i made my very own php library, htmlLib.
yeh...
Offline
I'm not familiar with php, but I do know some HTML. This could be interesting.
Offline
Offline
gbear605 wrote:
Offline