Kaisa
06-17-2003, 10:08 PM
could you make a member database with javascipt ? and could you make it where your whole site will show with a .js file ? and wheres a good place to find a javascript cheat sheet for stuff like write.document ?
|
Click to See Complete Forum and Search --> : JS Cheat Sheet and 2 questions Kaisa 06-17-2003, 10:08 PM could you make a member database with javascipt ? and could you make it where your whole site will show with a .js file ? and wheres a good place to find a javascript cheat sheet for stuff like write.document ? Khalid Ali 06-17-2003, 10:43 PM Yes you could create a member database using js.but it will be exposed to all of the visitors.And yes you can create js file for all of the ages to use,though it wont' be a good idea... brendandonhue 06-17-2003, 11:44 PM Well javascript can't create a true database. It can't write to files much beyond cookies. I think PHP would be perfect for the kinds of things you are looking to do. Kaisa 06-17-2003, 11:48 PM Thanks for the help Jona 06-17-2003, 11:49 PM Originally posted by Kaisa could you make a member database with javascipt ? You can use a .js file to read data from, but it is not secure, approximately 13% of the people online will not be able to use it and it would be virtually useless because of its security. Originally posted by Kaisa and could you make it where your whole site will show with a .js file ? Yes you can, but as I said above approximately 13% of your visitors will not be able to access the site; this means that your site will not comply with the WCAG 1.0 standards. Originally posted by Kaisa and wheres a good place to find a javascript cheat sheet for stuff like write.document ? Your heirarchy is reversed. :D It's document.write() and it's a method of the document object. A good reference would be http://devedge.netscape.com/ Jona Jona 06-17-2003, 11:52 PM Originally posted by brendandonhue I think PHP would be perfect for the kinds of things you are looking to do. But there is also CGI/Perl, ASP and JSP that may fit Kaisa's situation as well. PHP can't be used for everything; although I do agree with you here: while PHP is very easy to learn and use (it's the database that is more difficult to learn to work with :D), it lacks the power CGI has. But I doubt Kaisa is going to need the Power of Perl (hey, that sounded good! lol) for what he wants. Jona Kaisa 06-17-2003, 11:54 PM LOL brendandonhue 06-18-2003, 07:56 AM Heh The Power Of Perl. You should scroll that along the bottom of your avatar :p I am just reccommending PHP because thats what I am learning-and I find it extremely similar to javascript. After spending an hour reading a tutorial it only took me another hour to write a basic script for adding to a database and reading from it. I assume someone that really knows PHP would be able to do much more with it. Jona 06-18-2003, 10:44 AM Originally posted by brendandonhue Heh The Power Of Perl. You should scroll that along the bottom of your avatar :p I am just reccommending PHP because thats what I am learning-and I find it extremely similar to javascript. After spending an hour reading a tutorial it only took me another hour to write a basic script for adding to a database and reading from it. I assume someone that really knows PHP would be able to do much more with it. That's a good idea. :) I know why you recommend PHP, but just make sure you don't pre-bias anyone. Let them know what all of their options are, they may have a preference. PHP is extremely easy, though. As a matter of fact, I wrote my first PHP script in just a few minutes (thanks, Adam ;)). But my first Perl script took me an hour... Mainly because I spent about half of that time shouting at the computer and expecting it to answer me... The only answer I ever got was "Internal Server Error" blah, blah blah... Perl is powerful but more difficult. Anyone who knows PHP to the full can do much more than you or I (U-R-I get it? lol I'm a wise-crack today :D). Jona webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |