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

#26 2011-11-05 10:00:45

Mcsugarface
Scratcher
Registered: 2009-11-16
Posts: 100+

Re: FireCloud: A unique oportunity!

At least 60 seconds have to pass between posts. Please wait a little while and try posting again.

I can make an HTML tester. Lol, the easiest thing you could ever make.


Hi! I'm http://blocks.scratchr.org/API.php?user=USERNAMEHERE&action=onlineStatus&type=text!
http://internetometer.com/imagesmall/11070.png

Offline

 

#27 2011-11-05 10:36:17

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

Re: FireCloud: A unique oportunity!

sparks wrote:

If an app was built in pure php, it would almost certainly need to refresh the page to display the result. In which case you would have a form, with a few dropdowns, textboxes, buttons etc. The form requires an URL to link to. It would be the same URL as the page it's on in this case, so what is the URL?  smile

Just use AJAX.  big_smile

Offline

 

#28 2011-11-05 11:08:14

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: FireCloud: A unique oportunity!

ProgrammingFreak wrote:

Just use AJAX.  big_smile

Ajax still seems like some black mystical box to me.  Type in this code, and... MAGIC! There's your info, and you didn't even need to reload the page  smile


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#29 2011-11-05 11:13:21

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

Re: FireCloud: A unique oportunity!

Hmm, perhaps I could make a rss feed for latest posts on Scratch or something. Not sure.  hmm

Offline

 

#30 2011-11-05 11:16:02

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

Re: FireCloud: A unique oportunity!

MoreGamesNow wrote:

ProgrammingFreak wrote:

Just use AJAX.  big_smile

Ajax still seems like some black mystical box to me.  Type in this code, and... MAGIC! There's your info, and you didn't even need to reload the page  smile

Yeah, I'm still getting my grasp on it.

Offline

 

#31 2011-11-05 11:37:42

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: FireCloud: A unique oportunity!

It basically makes an invisible page with PHP and uses that to get the information right?


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#32 2011-11-05 11:42:26

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

Re: FireCloud: A unique oportunity!

MoreGamesNow wrote:

It basically makes an invisible page with PHP and uses that to get the information right?

Yeah, I suppose.
I use the AJAX in jQuery, so I'm not sure if its exactly the same.  tongue

Offline

 

#33 2011-11-05 12:43:00

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

Re: FireCloud: A unique oportunity!

How do we use the user variable?

Offline

 

#34 2011-11-07 14:39:27

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

Re: FireCloud: A unique oportunity!

bump

Offline

 

#35 2011-11-07 15:44:15

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

Re: FireCloud: A unique oportunity!

MoreGamesNow wrote:

It basically makes an invisible page with PHP and uses that to get the information right?

AJAX stands for some kind of asynchronous java and xml (I think).
Asynchronous simply means not inside time -- so not synced with the page's load.

It means you can call a website even after the page is loaded, without freezing the page (if it's a decent browser). It doesn't have to link with a PHP page, it can be a text file (then processed by the javascript), an html page... whatever!

Offline

 

#36 2011-11-07 18:02:49

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

Re: FireCloud: A unique oportunity!

ProgrammingFreak wrote:

How do we use the user variable?

Offline

 

#37 2011-11-09 14:50:07

Espevoir
Scratcher
Registered: 2011-05-22
Posts: 16

Re: FireCloud: A unique oportunity!

I made a (very) simple notepad with an auto save feature. That is all.
Click here to download.

I also made a google search, click here to commence downloading. xD

Oh and How do we use the user variable?

Last edited by Espevoir (2011-11-09 15:04:59)

Offline

 

#38 2011-11-10 02:48:58

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: FireCloud: A unique oportunity!

Right, thanks Espevoir for your apps.
As for user variables. simply do something like: %username% and tell me that you want %username% to be replace with their real username. Hope this helps.  smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#39 2011-11-10 02:52:00

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: FireCloud: A unique oportunity!

Update: I have decided to include all these apps that are been submitted into my web browser which I am currently working on. I'll create a separate thread for it soon.  smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#40 2011-11-10 08:59:45

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

Re: FireCloud: A unique oportunity!

I'm making a blog app where it keeps the info of each post in a xml file.  smile

Offline

 

#41 2011-11-10 17:37:31

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: FireCloud: A unique oportunity!

ProgrammingFreak wrote:

I'm making a blog app where it keeps the info of each post in a xml file.  smile

Sounds good.
Soon I will publish some guidlines on how I want it to be compiled so check back soon.  smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#42 2011-11-10 18:16:43

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

Re: FireCloud: A unique oportunity!

I just made a music player.  Again, it requires a URL, but  tongue

escratch.org/downloads/MusicPlayer.zip


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

 

#43 2011-11-11 02:54:45

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: FireCloud: A unique oportunity!

Sepcifications - MUST BE FOLLOWED
- All your required files must be in a zip file
- There must be an xml file called app.xml in the zip which is strutured like:

Code:

<xml>
<author>Your Name</author>
<name>App Name</name>
<description>App Description</description>
<version>Version (eg. 1.1)</version>
<main>file name of the main file (eg. index.html)</main>
<useweb>does it require internet? (true/false)</useweb>
</xml>

- No PHP or server sided scripts can be included in the zip file, you must host them your self (therefore the <useweb> will be true).
- There must be a 50x50 icon file called icon.png in the zip file
- NO file operations unless you are hosting the files

For now thats it but I will probally release a newer more advance language maybe after my web browser is released.  smile
I will also create a new thread.


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#44 2011-11-11 03:10:27

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

Re: FireCloud: A unique oportunity!

Daffy22 wrote:

Sepcifications - MUST BE FOLLOWED
- All your required files must be in a zip file
- There must be an xml file called app.xml in the zip which is strutured like:

Code:

<xml>
<author>Your Name</author>
<name>App Name</name>
<description>App Description</description>
<version>Version (eg. 1.1)</version>
<main>file name of the main file (eg. index.html)</main>
<useweb>does it require internet? (true/false)</useweb>
</xml>

- No PHP or server sided scripts can be included in the zip file, you must host them your self (therefore the <useweb> will be true).
- There must be a 50x50 icon file called icon.png in the zip file
- NO file operations unless you are hosting the files

For now thats it but I will probally release a newer more advance language maybe after my web browser is released.  smile
I will also create a new thread.

I danced in before this thread gets closed  tongue


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

Offline

 

#45 2011-11-11 16:26:19

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

Re: FireCloud: A unique oportunity!

So we can't use PHP?

Offline

 

#46 2011-11-11 16:34:02

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

Re: FireCloud: A unique oportunity!

ProgrammingFreak wrote:

So we can't use PHP?

I think what he is saying, is it has to be able to run on a different host that doesn't have PHP.  However, it probably can have a JS code that gets stuff from your website that has PHP on it.


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

 

#47 2011-11-11 16:44:41

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: FireCloud: A unique oportunity!

gbear605 wrote:

ProgrammingFreak wrote:

So we can't use PHP?

I think what he is saying, is it has to be able to run on a different host that doesn't have PHP.  However, it probably can have a JS code that gets stuff from your website that has PHP on it.

Yes. Or you could just redirect to a website which has a php script on it. But u have to host it your self.  hmm


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#48 2011-11-11 16:48:09

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

Re: FireCloud: A unique oportunity!

Daffy22 wrote:

gbear605 wrote:

ProgrammingFreak wrote:

So we can't use PHP?

I think what he is saying, is it has to be able to run on a different host that doesn't have PHP.  However, it probably can have a JS code that gets stuff from your website that has PHP on it.

Yes. Or you could just redirect to a website which has a php script on it. But u have to host it your self.  hmm

Ok, here is my stuff hosted: (the scratch viewer ain't working)


Code:

<iframe src="http://escratch.org/YoutubeViewer/form.html" width=660 height=380 frameborder=1></iframe>
<iframe src="http://escratch.org/MusicPlayer/form.html" width=500 height=170 frameborder=1></iframe>

XML files:

Code:

<xml>
<author>gbear605</author>
<name>Youtube Viewer</name>
<description>Views Youtube</description>
<version>1.0</version>
<main>http://escratch.org/YoutubeViewer/form.html</main>
<useweb>true</useweb>
</xml>

<xml>
<author>gbear605</author>
<name>Music Player</name>
<description>Plays Music</description>
<version>1.0</version>
<main>http://escratch.org/MusicPlayer/form.html</main>
<useweb>true</useweb>
</xml>

Last edited by gbear605 (2011-11-11 16:55:01)


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

 

#49 2011-11-11 16:49:37

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

Re: FireCloud: A unique oportunity!

Hmm, I'll try to find a way to edit xml with javascript.  wink

Offline

 

#50 2011-11-11 17:01:06

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: FireCloud: A unique oportunity!

gbear605 wrote:

Daffy22 wrote:

gbear605 wrote:


I think what he is saying, is it has to be able to run on a different host that doesn't have PHP.  However, it probably can have a JS code that gets stuff from your website that has PHP on it.

Yes. Or you could just redirect to a website which has a php script on it. But u have to host it your self.  hmm

Ok, here is my stuff hosted: (the scratch viewer ain't working)


Code:

<iframe src="http://escratch.org/YoutubeViewer/form.html" width=660 height=380 frameborder=1></iframe>
<iframe src="http://escratch.org/MusicPlayer/form.html" width=500 height=170 frameborder=1></iframe>

XML files:

Code:

<xml>
<author>gbear605</author>
<name>Youtube Viewer</name>
<description>Views Youtube</description>
<version>1.0</version>
<main>http://escratch.org/YoutubeViewer/form.html</main>
<useweb>true</useweb>
</xml>

<xml>
<author>gbear605</author>
<name>Music Player</name>
<description>Plays Music</description>
<version>1.0</version>
<main>http://escratch.org/MusicPlayer/form.html</main>
<useweb>true</useweb>
</xml>

Thanks, ill compile that for you. Do you want to make a 52x52 png icon for it or shall i do it?


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

Board footer