This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-10-18 11:59:30

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

CLinton - Linking programming languages!

Coming soon... CLinton!
CLinton is normally called Clinton.
Normal php page:

Code:

 <?php //stuff here ?>
<html>
<head><title>Hello World!</title></head>
<body>
Hello World!
</body>
</html>

Clinton php page:

Code:

 <?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)


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#2 2011-10-18 12:18:46

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: CLinton - Linking programming languages!

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.


http://i.imgur.com/zeIZW.png

Offline

 

#3 2011-10-18 12:30:06

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: CLinton - Linking programming languages!

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


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#4 2011-10-18 12:40:45

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: CLinton - Linking programming languages!

It does kind of look like requiring more processing power than the HTML... I'm curious to see what this will turn into though  big_smile

Offline

 

#5 2011-10-18 12:46:18

ZeptoVex
New Scratcher
Registered: 2011-10-13
Posts: 100+

Re: CLinton - Linking programming languages!

looks awesome

Offline

 

#6 2011-10-18 12:47:56

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: CLinton - Linking programming languages!

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  big_smile

big_smile


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#7 2011-10-18 12:57:39

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: CLinton - Linking programming languages!

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.


http://i.imgur.com/zeIZW.png

Offline

 

#8 2011-10-18 13:21:46

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: CLinton - Linking programming languages!

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?


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#9 2011-10-18 14:32:15

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: CLinton - Linking programming languages!

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...


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#10 2011-10-18 14:43:21

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: CLinton - Linking programming languages!

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.


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#11 2011-10-18 15:16:13

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: CLinton - Linking programming languages!

All I hsve to say, is put it on github  big_smile


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#12 2011-10-18 15:50:22

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: CLinton - Linking programming languages!

gbear605 wrote:

All I hsve to say, is put it on github  big_smile

You. Are. Obsessed.  tongue

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

 

#13 2011-10-19 03:07:54

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: CLinton - Linking programming languages!

ProgrammingFreak wrote:

gbear605 wrote:

All I hsve to say, is put it on github  big_smile

You. Are. Obsessed.  tongue

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...


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#14 2011-10-19 13:23:39

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: CLinton - Linking programming languages!

i've got a github account, will make repository soon.... if i make this...


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#15 2011-10-19 15:10:57

ratchetclank98
Scratcher
Registered: 2011-10-17
Posts: 6

Re: CLinton - Linking programming languages!

I'm not familiar with php, but I do know some HTML.  This could be interesting.

Offline

 

#16 2011-10-23 17:05:50

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: CLinton - Linking programming languages!


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#17 2011-10-24 10:07:24

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: CLinton - Linking programming languages!

gbear605 wrote:

Github: https://github.com/comp500/CLinton

big_smile


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#18 2011-12-15 03:01:44

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: CLinton - Linking programming languages!

bump


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

Board footer