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 12 of 12

Thread: help needed

  1. #1
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    help needed

    Hey guys im trying to create a website for my school.

    Basicly its like an exchange ring.

    In my head it goes like this.
    You log in (via facebook) you post what book you are selling and people that access the site can see the books that are for sale.


    Thx

    edit : Ok ill try to be more precise....

    Lets say Jim wants to sell his book.
    He goes on the site and log in with his facebook account.
    Once he listed his books, his name appears next to the price of the book, the name of the book etc...
    That way people can contact him via facebook.

    The thing I need isnt automatic comment. I need some program that can list items and lets say update them on an other page.
    Lets say I got a sell and buy page. The seller puts his book. Then, the item he sold goes on the buying page.
    Thx for your help

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,918
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    This forum is not a free coding service. As a general rule, the people helping out in this forum don't write code for others, but try to help with fixing code that doesn't work. You may perhaps get someone to write this script for you, but you'll be far more likely to get help if you have made a substantial effort and written some code yourself. Then someone here will almost certainly help you correct/improve your work.

    But you will need to employ server-side code - not Javascript which is purely a client-side language.


    This thread has been triple-posted. Please have a look at the forum rules and posting guidelines, several aspects of which apply.

    “America is the only country that went from barbarism to decadence without civilization in between.”
    Oscar Wilde (Irish Poet, Novelist, Dramatist and Critic, 1854-1900)
    Last edited by Philip M; 02-07-2013 at 06:32 PM.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  • #3
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Philip M View Post
    This forum is not a free coding service. As a general rule, the people helping out in this forum don't write code for others, but try to help with fixing code that doesn't work. You may perhaps get someone to write this script for you, but you'll be far more likely to get help if you have made a substantial effort and written some code yourself. Then someone here will almost certainly help you correct/improve your work.

    But you will need to employ server-side code - not Javascript which is purely a client-side language.


    “America is the only country that went from barbarism to decadence without civilization in between.”
    Oscar Wilde (Irish Poet, Novelist, Dramatist and Critic, 1854-1900)
    oh, im sorry....
    I didn't want anyone to do this for me...im basicly asking if anyone could put me on the right track since i have no experience in this.

  • #4
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,918
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    Quote Originally Posted by gunerboy View Post
    im basicly asking if anyone could put me on the right track since i have no experience in this.
    Presumably you would not attempt to service or repair a machine or appliance without any experience or understanding of how it worked.
    Given that you have no experience, your goal is impossible unless you can persuade someone else to do the work for you.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  • #5
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Philip M View Post
    Presumably you would not attempt to service or repair a machine or appliance without any experience or understanding of how it worked.
    Given that you have no experience, your goal is impossible unless you can persuade someone else to do the work for you.
    I think you just went full retard o.o

    I'm just asking for some help man... stop acusing me and telling me what you think I want.

  • #6
    Regular Coder
    Join Date
    Jan 2013
    Location
    Germany
    Posts
    578
    Thanks
    4
    Thanked 77 Times in 77 Posts
    He didn't accuse you, he said that without programming experience, this task is way beyond your abilities.

    And he's right.

    Still, I will give it a shot. My "direction" for you is: Learn programming basics. Then get familiar with the Facebook API. Then you can start working on this. Given that you don't have any experience, you should be ready to start your project in a couple of weeks. But until then you really don't need to worry about the "how", you just need basics first. Or with his words: Don't fix an airplane if you don't know how it works.

    Of course you might already have some programming experience afterall. If so, you didn't tell us about it. You may still do that because then there might be a point in giving you an outline of what to do.
    Last edited by Airblader; 02-07-2013 at 07:07 PM.

  • Users who have thanked Airblader for this post:

    gunerboy (02-07-2013)

  • #7
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Airblader View Post
    He didn't accuse you, he said that without programming experience, this task is way beyond your abilities.

    And he's right.

    Still, I will give it a shot. My "direction" for you is: Learn programming basics. Then get familiar with the Facebook API. Then you can start working on this. Given that you don't have any experience, you should be ready to start your project in a couple of weeks. But until then you really don't need to worry about the "how", you just need basics first. Or with his words: Don't fix an airplane if you don't know how it works.

    Of course you might already have some programming experience afterall. If so, you didn't tell us about it. You may still do that because then there might be a point in giving you an outline of what to do.
    Thank you....that was helpful

  • #8
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,184
    Thanks
    75
    Thanked 4,341 Times in 4,307 Posts
    Note also the comment about needing server-side code. That means you will need to *ALSO* learn how to:
    -- create a database table (or, more likely, tables)
    -- add data to the DB table(s)
    -- update the table(s)
    -- use PHP or JSP or ASP or ASP.NET or some other server-side system to:
    -- -- manipulate the DB table(s) as above
    -- -- receive requests from the browsers to do so
    -- -- ensure that the requests are genuine and ensure that there is no "attacks" in them
    -- -- -- (for example: SQL Injection Attacks, Denial of Service Attacks, and more)
    -- -- return responses from those requests to the users
    -- -- do all of the above within the framework of the Facebook API (which just adds another level of complexity)

    In other words, if this is your first venture into this realm, you have a long ways to go. If this *IS* a first (or near-first) venture, then I think Airblader was way way overly optimistic in saying "a couple of weeks". Six months or so might be more like it, unless you have nothing else to do in your life.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • Users who have thanked Old Pedant for this post:

    gunerboy (02-07-2013)

  • #9
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Old Pedant View Post
    Note also the comment about needing server-side code. That means you will need to *ALSO* learn how to:
    -- create a database table (or, more likely, tables)
    -- add data to the DB table(s)
    -- update the table(s)
    -- use PHP or JSP or ASP or ASP.NET or some other server-side system to:
    -- -- manipulate the DB table(s) as above
    -- -- receive requests from the browsers to do so
    -- -- ensure that the requests are genuine and ensure that there is no "attacks" in them
    -- -- -- (for example: SQL Injection Attacks, Denial of Service Attacks, and more)
    -- -- return responses from those requests to the users
    -- -- do all of the above within the framework of the Facebook API (which just adds another level of complexity)

    In other words, if this is your first venture into this realm, you have a long ways to go. If this *IS* a first (or near-first) venture, then I think Airblader was way way overly optimistic in saying "a couple of weeks". Six months or so might be more like it, unless you have nothing else to do in your life.
    holy **** man haha omg....
    well as a matter of fact i do have something else to do with my life... i was thinking maybe there was some already madeup codes since I see a lot of site with these functions...

    Is there an easy way out or not ? Because all i know is making a database table... O.o lmao

  • #10
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,184
    Thanks
    75
    Thanked 4,341 Times in 4,307 Posts
    There might be already existing code, though I doubt you'll find any that does exactly what you want. But (a) I don't think you will find any for free and (b) you'll surely have to do some major adaptations. Your best bet is probably to see if you can find some Facebook apps that come *close* to what you want and then find out if the owner of the app is interested in partnering with you.

    I would guess that even an experience PHP (or JSP or ASP.NET or whatever) user might take several days to build this app, even as a standalone. And then he/she would still have the task of integrating it with Facebook's API. And I didn't even mention the need to create the HTML and CSS and JavaScript you will need. I truly am *NOT* overstating how much work this is.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #11
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Old Pedant View Post
    There might be already existing code, though I doubt you'll find any that does exactly what you want. But (a) I don't think you will find any for free and (b) you'll surely have to do some major adaptations. Your best bet is probably to see if you can find some Facebook apps that come *close* to what you want and then find out if the owner of the app is interested in partnering with you.

    I would guess that even an experience PHP (or JSP or ASP.NET or whatever) user might take several days to build this app, even as a standalone. And then he/she would still have the task of integrating it with Facebook's API. And I didn't even mention the need to create the HTML and CSS and JavaScript you will need. I truly am *NOT* overstating how much work this is.
    Lol ok thanks a lot man good to know
    ill start learning

  • #12
    Regular Coder
    Join Date
    Jan 2013
    Location
    Germany
    Posts
    578
    Thanks
    4
    Thanked 77 Times in 77 Posts
    Well I said in a couple of weeks he could *start* on this project, not be done. And yes, that is assuming spending a lot of time on it per day.


  •  

    Posting Permissions

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