Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-07-2013, 06:13 PM   PM User | #1
gunerboy
New to the CF scene

 
Join Date: Feb 2013
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
gunerboy can only hope to improve
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
gunerboy is offline   Reply With Quote
Old 02-07-2013, 06:28 PM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,033
Thanks: 197
Thanked 2,410 Times in 2,388 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
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)
__________________

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.

Last edited by Philip M; 02-07-2013 at 06:32 PM..
Philip M is offline   Reply With Quote
Old 02-07-2013, 06:32 PM   PM User | #3
gunerboy
New to the CF scene

 
Join Date: Feb 2013
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
gunerboy can only hope to improve
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.
gunerboy is offline   Reply With Quote
Old 02-07-2013, 06:34 PM   PM User | #4
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,033
Thanks: 197
Thanked 2,410 Times in 2,388 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
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.
Philip M is offline   Reply With Quote
Old 02-07-2013, 06:41 PM   PM User | #5
gunerboy
New to the CF scene

 
Join Date: Feb 2013
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
gunerboy can only hope to improve
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.
gunerboy is offline   Reply With Quote
Old 02-07-2013, 07:03 PM   PM User | #6
Airblader
Regular Coder

 
Join Date: Jan 2013
Location: Germany
Posts: 348
Thanks: 3
Thanked 43 Times in 43 Posts
Airblader can only hope to improve
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..
Airblader is offline   Reply With Quote
Users who have thanked Airblader for this post:
gunerboy (02-07-2013)
Old 02-07-2013, 08:24 PM   PM User | #7
gunerboy
New to the CF scene

 
Join Date: Feb 2013
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
gunerboy can only hope to improve
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
gunerboy is offline   Reply With Quote
Old 02-07-2013, 10:23 PM   PM User | #8
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,168
Thanks: 59
Thanked 3,993 Times in 3,962 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
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.
Old Pedant is offline   Reply With Quote
Users who have thanked Old Pedant for this post:
gunerboy (02-07-2013)
Old 02-07-2013, 11:04 PM   PM User | #9
gunerboy
New to the CF scene

 
Join Date: Feb 2013
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
gunerboy can only hope to improve
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
gunerboy is offline   Reply With Quote
Old 02-07-2013, 11:29 PM   PM User | #10
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,168
Thanks: 59
Thanked 3,993 Times in 3,962 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
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.
Old Pedant is offline   Reply With Quote
Old 02-07-2013, 11:43 PM   PM User | #11
gunerboy
New to the CF scene

 
Join Date: Feb 2013
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
gunerboy can only hope to improve
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
gunerboy is offline   Reply With Quote
Old 02-08-2013, 04:39 AM   PM User | #12
Airblader
Regular Coder

 
Join Date: Jan 2013
Location: Germany
Posts: 348
Thanks: 3
Thanked 43 Times in 43 Posts
Airblader can only hope to improve
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.
Airblader is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:08 PM.


Advertisement
Log in to turn off these ads.