Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 14 of 14
  1. #1
    New to the CF scene
    Join Date
    Feb 2003
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Javascript Newbie - user - created data table help please

    Hello there everyone! What I need to be able to do is have a setup on my site that allows users to be able to enter values into a table - to be used for creating lists, messages, etc.

    The problem is that i am at a loss where to start. I have scanned several sites for a canned script, to no avail. Tried searching for such items on this forum and the script posting forum, no luck. So I have two options that I can see:

    1) If someone knows of a link to such a JS tool, if they could post it I would be very appreciative and thankful

    - OR -

    2) The only other method I could think of would be to have a dynamic table / user form setup that would take the entered data and post it in a dynamic table setup. Problem is I have no idea where to begin

    Any / All suggestions welcome and appreciated. I have limited page design time, but want to learn the trick, so any pointers would be helpful. Thanks in advance!!

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    FL, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Is there a limit to the amount of list items?
    CYWebmaster.com - See why we dot com!!
    ACJavascripts.com - Cut & Paste Javascripts!
    SimplyProgram.com - Personal Blog

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    41° 8' 52" N -95° 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You can't use javascript for this, you'd need to use a server-side language. That's probably why you couldn't find anything.

    http://www.w3schools.com/asp
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)

  • #4
    New to the CF scene
    Join Date
    Feb 2003
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    As far as the list size is concerned, I can't really see more than 20-30 items max being on the list at any one time. As far as server-side issues, this is a small family site on a local ISP account, that probably is not running Java, etc. Are there any server-side languages that most ISP's support that would enable this, or am I pretty much dead?

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Location
    FL, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Are you looking for a message board??

    If you aren't what is your entention with the list?

    b/c It can be done with javascript using cookies if you want to setup a list for that one session... If your looking to have it around as a database ect.. You will need server side like whammy said. And if you do you are not dead hehehe,, There are alot of sites that will host a script for you...
    CYWebmaster.com - See why we dot com!!
    ACJavascripts.com - Cut & Paste Javascripts!
    SimplyProgram.com - Personal Blog

  • #6
    New to the CF scene
    Join Date
    Feb 2003
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    aye, just need to have a place on my site where people can input lists of items needed for meetings, activities, etc. Should be a very simple three column listing, but does need to be persistent across multiple sessions. What sites are there that would host such side scripts for free? All the ones I see looking to support java and such want 10+ a month, and at this time my site is mainly experimental so i cannot commit to such an investment at this time, I would just drop that functionality if I had to.

    Thanks for all your help here!! I look forward to your response.

  • #7
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You don't need Java do to this. It can be done with Perl, PHP, ASP, .NET, CFML, Java, or anything that can be compiled and run through CGI. You need to find out which of these your host supports. You also need to know if they have database support as well. If not, then you'll need to store this data in flat textfiles.

    For instance, my hosting is $7/mo and I get PHP (server-side code) and MySql (database), so I would obviously want a PHP application for this.
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #8
    Regular Coder
    Join Date
    Jun 2002
    Location
    FL, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I would agree with beetle at that point you want to go with a cgi application. wether that be php perl or asp ect......

    What does your host support?
    CYWebmaster.com - See why we dot com!!
    ACJavascripts.com - Cut & Paste Javascripts!
    SimplyProgram.com - Personal Blog

  • #9
    New to the CF scene
    Join Date
    Feb 2003
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy

    Alrighty... gave up on my original host (insightbb), as I figure they don't support those items as their help files mak no mention of them...

    Found BreezeLand which supports the following:

    CGI-Bin
    Apache ASP
    1 MySQL Database

    So the hosting issue is resolved (I hope). Where to now? Are there locations that offer code samples i can modify for my uses or do these things usually need to be coded from scratch? I learn best by analyzing other's codes, but can struggle my way through if need be.

    Thank you all so much for the advice given so far!! I look forward to hearing from you again (P.S. - any help sites that will give good explanations and examples of how to code CGI / ASP and how they interrelate with MySQL would be great also!)
    Last edited by oldweasel; 02-07-2003 at 02:21 PM.

  • #10
    Senior Coder
    Join Date
    Jun 2002
    Location
    41° 8' 52" N -95° 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    A pretty good place to start on databases:

    http://hotwired.lycos.com/webmonkey/backend/databases/

    Some pretty good ASP stuff:

    http://www.4guysfromrolla.com
    http://www.learnasp.com
    http://www.w3schools.com/asp
    http://www.haneng.com

    P.S. If you run into any problems with ASP, be sure to post in the ASP Forum.
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)

  • #11
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Apache ASP? Sounds like a Linux server which means they are probably using Chilisoft, which from what I've heard isn't the best for serving up ASP. Have you signed up for your hosting yet?

    Before you choose your hosting provider by technology, you need to pick a technology first. I HIGHLY recommend reading this article before doing anything else. After you've done so, come back here and let us know which direction you'd like to take, and I (or someone else) can tell you what to look for in a host.
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #12
    Senior Coder
    Join Date
    Jun 2002
    Location
    41° 8' 52" N -95° 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Good catch, beetle... Chilisoft isn't that great, for one thing it doesn't support regular expressions (big drawback IMHO).
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)

  • #13
    New to the CF scene
    Join Date
    Feb 2003
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Great Article There! Well, after reviewing the choices, the ones that fit me easiest as a former coder (now in QA / Testing, so 2 years removed from coding) with little time (baby on the way next month) appear to be ColdFusion and PHP.

    What do you all think, are these viable, and is it relatively easy to find lower-cost hosts for these platforms? Any tips on where to look for getting started?

    Thanks Again!!

  • #14
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    PHP will definitely be your lower-cost solution. PHP is an open-source software and ColdFusion is licensed...

    For example, I pay $6.95/mo and get
    PHP
    JSP
    MySql (1 db, with phpMyAdmin)
    SSL
    5GB monthly transfer
    up to 250MB storage
    Unlimited emails
    Statistics reporting
    FP2000 extensions
    Ensim control panel (for creating mailboxes and managing files)

    I know the guy, he lives here locally and we do some work together. He collocates his servers at a good datacenter in Houston.

    Let me know if you are interested.
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •