+ Reply to Thread
Results 1 to 6 of 6

Thread: Need experts' opinion

  1. #1
    walidno1 is offline x10 Lieutenant walidno1 is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    Bangladesh
    Posts
    351

    Red face Need experts' opinion

    Ok, Im learning Javascript from W3school and well, I was wondering what else wud I need?? PHP and My SQL I guess..........

    PS: I just want a simple login page for members...........nothing complicated


    :rant2:
    visit my website as a sign of appreciation :D
    Get professional logos designed FOR FREE!!!

    link:http://www.myriad.x10hosting.com

  2. #2
    marshian's Avatar
    marshian is offline x10 Elder marshian is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Belgium
    Posts
    526

    Re: Need experts' opinion

    For a simple login page you only need PHP and MySQL. JavaScript can be nice to add an additional dimension (active content on the client's side), but it's not required.
    If you want to keep it simple, just stick with PHP and MySQL.

    Actually it can be done without MySQL too, but it's certainly easier than most other solutions.

  3. #3
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Need experts' opinion

    The more I look at W3Schools, the less I like it. Second page in to the JS tutorial and they're using document.write. W3Schools is terribly out of date; much of what you'll learn you'll later have to un-learn. Tizag Tutorials is a little better, but not without its faults.

    Read my response in palmettoexpress_ceo's "Want to learn to program...." thread.
    Last edited by misson; 12-20-2009 at 04:02 PM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  4. #4
    drf1229 is offline x10Hosting Member drf1229 is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    71

    Re: Need experts' opinion

    There are MANY ways to create a login page that stores names and info of members. The most common way is using MySQL, as said above, but what I usually do is save all of the user's information to a text or XML file. Then, use php fread/fwrite to adjust the file as users are added or edited. This requires a lot of creative thought, but I find it easier than writing to a database.
    Your 14 year old web developer. If I can do it, you can!
    My site
    My iPhone App

  5. #5
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Need experts' opinion

    Quote Originally Posted by drf1229 View Post
    [...] save all of the user's information to a text or XML file. Then, use php fread/fwrite to adjust the file as users are added or edited. This requires a lot of creative thought, but I find it easier than writing to a database.
    While it's conceptually easier ("a file is a sequence of characters, and has a read/write position" is simpler than the RDB model), it's harder to implement. When you use a database, you get a number of features for free that you otherwise need to implement when using flat files.

    XML is a whole new game. As long as you don't write your own XML handler, you get the ease of use and some of the features of a database, though the performance suffers. For this reason, XML is best suited for transfering partial datasets rather than storing large amounts of data. Add in a database management system that uses indices and a binary XML format and you're just about golden, but at that point you need a DDL and DML, so there's not a significant advantage over using MyQSL/MSSQL/PostrgeSQL in terms of simplicity of use.

    SQL, by the way, has a hidden simplicity. You have some basic (aka atomic or scalar) types and two aggregate types: rows (collections/tuples of scalars) and tables (collections/lists of rows). DML statements map tables to tables. They support the following operations on tables:
    • join tables to create a new one using the JOIN clause,
    • remove columns (aka "projection") by listing columns after SELECT,
    • filter rows using the WHERE and LIMIT clauses
    • map a group of rows to a single row using the GROUP BY clause and aggregate functions,
    • sort rows,
    • perform set operations (union, intersection, difference) on tables,
    • add rows to/change rows in tables via the INSERT and UPDATE statements
    There are details (such as NULL values) this doesn't cover, but that's the gist. Database design, by contrast, can be a more complex topic, though SQL's DDL is simpler than its DML.
    Last edited by misson; 12-20-2009 at 10:42 PM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  6. #6
    walidno1 is offline x10 Lieutenant walidno1 is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    Bangladesh
    Posts
    351

    Re: Need experts' opinion

    hmm................btw, is there any ebooks on mysql, javascript and php????
    visit my website as a sign of appreciation :D
    Get professional logos designed FOR FREE!!!

    link:http://www.myriad.x10hosting.com

+ Reply to Thread

Similar Threads

  1. Replies: 43
    Last Post: 01-17-2010, 03:49 PM
  2. Opinion sobre el "Tema Principal"
    By ZharkD in forum Noticias y Anuncios
    Replies: 3
    Last Post: 10-25-2008, 08:22 AM
  3. Im in need of an honest opinion!
    By antcasto in forum Review My Site
    Replies: 3
    Last Post: 02-27-2008, 11:19 PM
  4. your opinion???
    By NeonWarrior in forum Off Topic
    Replies: 6
    Last Post: 11-03-2007, 06:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers