The Astrobar  

Go Back   The Astrobar > Site Stuff > Astrobar
FAQ The Drunks Calendar Arcade Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 09-19-2005, 11:32 PM   #1 (permalink)
regruntled and reemployed
 
Deslok's Avatar
 
Join Date: Jan 1970
Location: in front of the computer
Posts: 1,221
Deslok has a little shameless behaviour in the past

Default question about javascript

I'm assuming that the shoutbox is JS. I was wondering if there is a BBS format that updates like the shoutbox. That is to say that you have all the topics and they instantly update when someone posts.

Also, js seems to not be quite perfect yet. What are the limitations and concerns of it? I have a project in mind and I've been reading through my huge book of java tips. It's an intimidating book and I'm really just looking for examples of code to lift to see if I can even implement this idea.

Any knowledge that anyone can share would be greatly appreciated. Thanx!
__________________



Deslok is offline   Reply With Quote
Old 09-20-2005, 12:56 AM   #2 (permalink)
Astro-Monkey
 
Arik's Avatar
 
Join Date: Jan 2010
Location: Here, dumbfuck!
Posts: 2,304
Arik has disabled reputation
Send a message via AIM to Arik Send a message via MSN to Arik Send a message via Yahoo to Arik

Default Re: question about javascript

Quote:
Deslok stopped drinking long enough to mumble
I'm assuming that the shoutbox is JS. I was wondering if there is a BBS format that updates like the shoutbox. That is to say that you have all the topics and they instantly update when someone posts.
Such a thing would only really be useful on a busy board, and it would be too expensive to implement on that large of a scale. The shoutbox doesn't update when you post for everyone...it checks the database every once in a while to see if there have been new posts.

Your assumption is half correct, by the way. There is a javascript component to it, but on the backend it's all PHP. The technology that powers it is called AJAX. (AJAX is also behind some of the other upgrades around here...)

Quote:
Deslok stopped drinking long enough to mumble
Also, js seems to not be quite perfect yet. What are the limitations and concerns of it? I have a project in mind and I've been reading through my huge book of java tips. It's an intimidating book and I'm really just looking for examples of code to lift to see if I can even implement this idea.
Javascript is a client side scripting language. The benefit it provides is that it makes (what would have been) static HTML pages dynamic. The biggest downside to it is that the implimentation isn't exactly the same across all browsers. But, if the choice is to either have it or not, that may not be a downside.
Arik is offline   Reply With Quote
Old 09-20-2005, 12:58 AM   #3 (permalink)
The Dude
 
Brikar's Avatar
 
Join Date: Jan 1970
Location: Massachusetts
Posts: 3,585
Brikar is on a distinguished road

Default Re: question about javascript

I keep telling myself, I want to learn some of this Javascript and HTML stuff, but it's just one of those things that never happens.
__________________
"A million monkeys typing until the end of time will produce the complete works of William Shakespeare. Ten thousand monkeys typing for ten thousand years will write a Hemingway. Ten monkeys typing over Columbus Day weekend will give you a Dan Brown."

http://olympusmans.blogspot.com
http://benforrealz.blogspot.com
Brikar is offline   Reply With Quote
Old 09-20-2005, 01:25 AM   #4 (permalink)
"It's a faaaake!"
 
Space Goat's Avatar
 
Join Date: Jan 1970
Location: Washington, D.C.
Posts: 432
Space Goat is on a distinguished road
Send a message via AIM to Space Goat Send a message via MSN to Space Goat

Default Re: question about javascript

Quote:
Brikar stopped drinking long enough to mumble
I keep telling myself, I want to learn some of this Javascript and HTML stuff, but it's just one of those things that never happens.
Start with basic HTML and progress from there.

Although, having an incentive to learn--e.g. wanting to create a specific website--helps a lot. Necessity is the mother of effort, to borrow from a proverb.
__________________
"People should not be afraid of their governments. Governments should be afraid of their people." -V for Vendetta

"Don't tell me what I can't do!" -John Locke, Lost

Visit me on the web: Hypersyllogistic | Flickr | Twitter


Space Goat is offline   Reply With Quote
Old 09-20-2005, 01:29 AM   #5 (permalink)
regruntled and reemployed
 
Deslok's Avatar
 
Join Date: Jan 1970
Location: in front of the computer
Posts: 1,221
Deslok has a little shameless behaviour in the past

Default Re: question about javascript

Quote:
Javascript is a client side scripting language. The benefit it provides is that it makes (what would have been) static HTML pages dynamic. The biggest downside to it is that the implimentation isn't exactly the same across all browsers. But, if the choice is to either have it or not, that may not be a downside.
Right, I'm aware of that aspect of this. I can't understand why more people don't use firefox. I've been studying the implications of the whole java thing. I'm not a programming genius but I think there may be a way to make any website worth the effort. If my hunch is correct, there may be a way to implement this idea directly into FireFox. This could effectively eclipse MS/IE (delusions of godhood on my part maybe, but maybe not)

I'll give you some details when (and if) I get some results.
__________________



Deslok is offline   Reply With Quote
Old 09-20-2005, 01:34 AM   #6 (permalink)
The Dude
 
Brikar's Avatar
 
Join Date: Jan 1970
Location: Massachusetts
Posts: 3,585
Brikar is on a distinguished road

Default Re: question about javascript

Quote:
Space Goat stopped drinking long enough to mumble
Start with basic HTML and progress from there.

Although, having an incentive to learn--e.g. wanting to create a specific website--helps a lot. Necessity is the mother of effort, to borrow from a proverb.
Well, back when I was still putting crap up on my Yahoo!Geocities page, I did learn a lot of the basic tags and such, but never progressed beyond there because I was usually updating quickly and mostly just used Netscape or Frontpage because I was never doing anything terribly complex.
__________________
"A million monkeys typing until the end of time will produce the complete works of William Shakespeare. Ten thousand monkeys typing for ten thousand years will write a Hemingway. Ten monkeys typing over Columbus Day weekend will give you a Dan Brown."

http://olympusmans.blogspot.com
http://benforrealz.blogspot.com
Brikar is offline   Reply With Quote
Old 09-20-2005, 01:54 AM   #7 (permalink)
regruntled and reemployed
 
Deslok's Avatar
 
Join Date: Jan 1970
Location: in front of the computer
Posts: 1,221
Deslok has a little shameless behaviour in the past

Default Re: question about javascript

HTML is easy by comparison to js. JS is so much more specialized IMO.
__________________



Deslok is offline   Reply With Quote
Old 09-20-2005, 02:35 AM   #8 (permalink)
"It's a faaaake!"
 
Space Goat's Avatar
 
Join Date: Jan 1970
Location: Washington, D.C.
Posts: 432
Space Goat is on a distinguished road
Send a message via AIM to Space Goat Send a message via MSN to Space Goat

Default Re: question about javascript

Well, yes. I'm just saying, starting from the basics is far less daunting, and it makes learning the scripting languages easier.
__________________
"People should not be afraid of their governments. Governments should be afraid of their people." -V for Vendetta

"Don't tell me what I can't do!" -John Locke, Lost

Visit me on the web: Hypersyllogistic | Flickr | Twitter


Space Goat is offline   Reply With Quote
Old 09-20-2005, 02:42 AM   #9 (permalink)
regruntled and reemployed
 
Deslok's Avatar
 
Join Date: Jan 1970
Location: in front of the computer
Posts: 1,221
Deslok has a little shameless behaviour in the past

Default Re: question about javascript

I've enjoyed teaching myself programming languages since I was in high school and all we had were the old Tandy TRS-80 computers and the language was BASIC. I created a weak dungeon crawl and a buggy space invaders type of game where it was just a big alien walking toward the bottom of the screen.
__________________



Deslok is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:40 AM.


Powered by vBulletin® Version 3.7.0 Beta 4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0