A new project..

This is a discussion on A new project.. within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I am planin to start a new project using ASP(3.0).. It is a web search for small homepages... Where all ...

  1. #1
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683

    A new project..

    I am planin to start a new project using ASP(3.0).. It is a web search for small homepages... Where all the home pages are indexed and produces result based on the search string by a visitor... I am planin to have a control pannel and all that stuff...

    Now i am in a fix.. I am not sure wheathe i should use access or just a plain text file to hold everything.. If i use access many users wont be able to use my script if their service provider does not provide database support but if i use a normal test file.. all manipulation, search will be a tuff job.. what do you recomend...

  2. #2
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220

    Re: A new project..

    Originally posted by vasanth
    I am planin to start a new project using ASP(3.0).. It is a web search for small homepages... Where all the home pages are indexed and produces result based on the search string by a visitor... I am planin to have a control pannel and all that stuff...

    Now i am in a fix.. I am not sure wheathe i should use access or just a plain text file to hold everything.. If i use access many users wont be able to use my script if their service provider does not provide database support but if i use a normal test file.. all manipulation, search will be a tuff job.. what do you recomend...
    PHP/Perl & MySQL. There aren't many web hosts that have ASP&Access support (except maybe Brinkster). PHP, Perl and MySQL are more common and better.

  3. #3
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683

    Re: Re: A new project..

    Originally posted by Brian
    PHP/Perl & MySQL. There aren't many web hosts that have ASP&Access support (except maybe Brinkster). PHP, Perl and MySQL are more common and better.
    I too did a small search and found out that not many host support ASP.. so panin to learn PHP now.. do you think this kind od project will have many users...

  4. #4
    Registered User Commander's Avatar
    Join Date
    Sep 2001
    Posts
    804
    for making a searchengine for an abstract webpage, u don;t really need a database.... ASP can do the job alone if u are willing to code it. I came across a script once that searched all the pages' contents (in folders) in a website excluding the ones u specified. i modified it quite a bit to fit my needs. i'll c if i can find the website where i got it from. it'll give u some idea of how to get the script working without a DB.
    oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!

    MSN :: commander_android@hotmail.com []*[]

  5. #5
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    Brinkster is a free host that supports asp...They make the link for the free service real small though so you have to look closely
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  6. #6
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Originally posted by Commander
    for making a searchengine for an abstract webpage, u don;t really need a database.... ASP can do the job alone if u are willing to code it. I came across a script once that searched all the pages' contents (in folders) in a website excluding the ones u specified. i modified it quite a bit to fit my needs. i'll c if i can find the website where i got it from. it'll give u some idea of how to get the script working without a DB.

    wont that be slow.. i have to search all the pages whenever a search is done...

  7. #7
    Banned nickname_changed's Avatar
    Join Date
    Feb 2003
    Location
    Australia
    Posts
    986
    Well, rather than Access why not use XML? I expect ASP has some sort of XML parser built in so it shouldn't be that hard to implement. It will make it easier to parse for you since you dont have to code it (if its built in).

    If I remember correctly PHP has a way of simply reading in a file, and puts all the XML nodes/tags/contents into a tree thats really easy to use. If ASP can do that then it will make it much easier for you than reading a text file, but saves you using a database.

    Plus, using XML will make it much easier to write future applications using the same file (for instance, it wouldn't take long to port it to access I doubt).

    Edit: Although it depends how big the site is. If theres hundreds of pages it would be much easeir to have the content all in a database, and only use ASP (so everything dynamic anyway). Just as long as the XML files not huge.

  8. #8
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    any good XML tutorial from scrathch you know of.. eomstin like an E book.. please post links if you have any.. i have herd a lot about XML but never bothered to know what it actually is.. may be this is a good time to start it

  9. #9
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    XML tutorial

    not sure what languages your into but heres an online book about processing xml with java
    http://www.ibiblio.org/xml/books/xmljava/

  10. #10
    Registered User Commander's Avatar
    Join Date
    Sep 2001
    Posts
    804
    ASP does support xml....i know that much. but then if u want to add xml, won;t u have to make all your pages in a way so a xml parser is ables to read them?

    and as for the script being slow, it's not that slow, in a matter of fact, if customized correctly, it can be preety fast. u can see a demo and download it here. i didn;t realize i got the script from there.
    oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!

    MSN :: commander_android@hotmail.com []*[]

  11. #11
    Banned nickname_changed's Avatar
    Join Date
    Feb 2003
    Location
    Australia
    Posts
    986
    I used XML with C++ in my curent project, and got a library from www.xml-parser.com

    Its a great library and it comes for VB, and ASP as well as a bunch of other languages, so it should work for you. Its very easy to learn and very powerful, and I've found it extremely fast as well.

    I didn't mean the ASP itself would be slow, I just meant it would take a while to go through a very large XML file node by node, rather than with a relational database.

    To learn XML itself, I actually found microsoft (although normally trying to learn anything from MSDN can be a pain) to be the best source, because they have a lovely little tutorial on how it all works at http://msdn.microsoft.com/library/de...mltutorial.asp

    Also, www.devshed.net has a tutorial on XML as well (I think) in their tutorial section. Or, if none of those are any good, try www.oopweb.com

    Its an extremely useful language to learn, because its not a programming language but a way of storing data and defining how the elements all work together. Its even more simpler than HTML because you dont care how it looks, just the data it holds.
    Last edited by nickname_changed; 08-12-2003 at 09:18 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem Displaying a Struct
    By rockstarpirate in forum C++ Programming
    Replies: 16
    Last Post: 05-05-2008, 10:05 AM
  2. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 02:30 PM
  3. Dynamic Binding
    By gpr1me in forum C++ Programming
    Replies: 1
    Last Post: 03-24-2006, 09:01 AM
  4. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 08:41 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21