Craigslist

Keep it clean but fun.
Post Reply
User avatar
Xaos
Posts: 940
Joined: Wed Jan 11, 2012 4:01 am

Craigslist

Post by Xaos »

How does the website work, in terms of development? Is it just PHP/HTML that creates links to pages created from new stuff getting put into the database and pushes it down the page? Is it really as simple as it seems? And a noob question, but how would I make a new link or even line of text and push the bottom one to a new page, or how do I even get new pages? Is it more like "get latest X results"?
User avatar
vitinho444
Posts: 2819
Joined: Mon Mar 21, 2011 4:54 pm

Re: Craigslist

Post by vitinho444 »

I don't know how it works, but i sure know that i would do it like you say... Basic database with a table for the "ads", another for the users ofc, then to list them simple pagination script with simple select queries...
My Company Website: http://www.oryzhon.com

Skype: vpegas1234
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Craigslist

Post by Jackolantern »

Yeah, I think Craigslist is pretty simple, really. The site definitely looks like a throwback to early-2000's webpages. When you go to look at a category, it groups things by day, up until a point where it will start to say "Last Week", "2 weeks ago" and then "Last month", etc. That can all be done in server-side logic.
The indelible lord of tl;dr
User avatar
Xaos
Posts: 940
Joined: Wed Jan 11, 2012 4:01 am

Re: Craigslist

Post by Xaos »

Okay guys. Another question. Do odor think it would require a CMS like Wordpress? Or do it so creating an ad just creates a new row in the database with the ad info and on the category pages just pull them up? Also is there a tut for something that shows how todo the time thing where I can show say, all ads for last week and then click 'next' to not go to a different file/page but to refresh the page and show stuff from say 2 weeks ago. If that was clear :D
User avatar
vitinho444
Posts: 2819
Joined: Mon Mar 21, 2011 4:54 pm

Re: Craigslist

Post by vitinho444 »

It's not needed a Wordpress like framework. I would create the row in the database with the ad info and the proper page display it.
The time thing, is a basic pagination system :) Where you LIMIT the results from the database.

http://www.phpeasystep.com/phptu/29.html

Here's a basic one. :D

If you need more help i can give you (with halls permission) the source code for the resource website, that works the same way :)
Good Luck.
My Company Website: http://www.oryzhon.com

Skype: vpegas1234
User avatar
Xaos
Posts: 940
Joined: Wed Jan 11, 2012 4:01 am

Re: Craigslist

Post by Xaos »

vitinho444 wrote:It's not needed a Wordpress like framework. I would create the row in the database with the ad info and the proper page display it.
The time thing, is a basic pagination system :) Where you LIMIT the results from the database.

http://www.phpeasystep.com/phptu/29.html

Here's a basic one. :D

If you need more help i can give you (with halls permission) the source code for the resource website, that works the same way :)
Good Luck.

I okay, thanks. I knew it had a name ;)
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: Craigslist

Post by hallsofvallhalla »

Craigslist Statistics
Total number of local Craigslist sites 700
Number of countries that have a local Craigslist site 70
Number of Craigslist daily queries worldwide 50,000,000
Total percentage of all Craigslist revenue that comes from adult service ads 33 %
Number of new classified ads that are published on Craiglist every month 40 million
Number of used car ads viewed on Craigslist 9.2 million
Number of page views Craigslist gets every month 20 billion
Number of Americans who use Craigslist each year 50 million
Number of job listings posted to Craigslist each month 1 million
Percent of Craigslist owned by Ebay 25 %
User avatar
Xaos
Posts: 940
Joined: Wed Jan 11, 2012 4:01 am

Re: Craigslist

Post by Xaos »

hallsofvallhalla wrote:Craigslist Statistics
Total number of local Craigslist sites 700
Number of countries that have a local Craigslist site 70
Number of Craigslist daily queries worldwide 50,000,000
Total percentage of all Craigslist revenue that comes from adult service ads 33 %
Number of new classified ads that are published on Craiglist every month 40 million
Number of used car ads viewed on Craigslist 9.2 million
Number of page views Craigslist gets every month 20 billion
Number of Americans who use Craigslist each year 50 million
Number of job listings posted to Craigslist each month 1 million
Percent of Craigslist owned by Ebay 25 %
Wow I knew the eBay thing, but those are very impressive.
User avatar
vitinho444
Posts: 2819
Joined: Mon Mar 21, 2011 4:54 pm

Re: Craigslist

Post by vitinho444 »

Wow... and i thought people would not use that... I don't think i would use anything besides Amazon... anything that is person to person is not trustworthy... I like to have a "big company" in front of me instead of a person. It may sound stupid and i will probably change my opinion based on experiences, but so far this is what i think...
My Company Website: http://www.oryzhon.com

Skype: vpegas1234
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Craigslist

Post by Jackolantern »

hallsofvallhalla wrote:Total percentage of all Craigslist revenue that comes from adult service ads 33 %
Not surprised at all lol. :roll:

By the way, how does Craigslist actually make money?
The indelible lord of tl;dr
Post Reply

Return to “Off-Topic”