Free Web Hosting Forum
Go Back   Free Web Hosting Forum > Website Building > Scripts and Code Snippets
Reload this Page Looking for a free and simple flat-file news script compatible with 000Webhost
Reply
 
Thread Tools Display Modes
(#11 (permalink))
Old
Senior Member
totage is on a distinguished road
 
Posts: 199
Join Date: Jan 2011
Location: USA
Send a message via AIM to totage Send a message via MSN to totage Send a message via Yahoo to totage
Default 07-05-2011, 05:08 PM

From what I understand flat file is only good for smaller sites with smaller traffic volume. PHP and MySQL is much more stable and actually easier in the long run and can handle much larger sites and traffic volume. If you're serious about making money with your site, upgrading your hosting account would also be recommended.

Either way, I hope you found what you're looking for. If not, why not build your own?
Reply With Quote
Sponsored Links
(#12 (permalink))
Old
Senior Member
Sogo7 is on a distinguished road
 
Posts: 238
Join Date: Dec 2010
Default 07-05-2011, 10:55 PM

Depending on the specific requirements you could get away with using a Yahoo Pipe to provide a constant supply of news data. Either just copying the RSS headlines or parsing subsequent pages for the useful content. Yahoo Pipes has an output module that POST data in a JSON format to a recieving page where it can be stored as a flat file and subsequently intergrated back into the site.

The Job Hunter Project uses the same method to store search results and place them into the page using PHP upon initial load, thus providing indexable content. Then when the callback function of the pipe kicks in the old data is overwritten on screen by javascript and new data is sent server side for storage by the YP JSON module. Pick any town on the map search and you can see it in action.

Remember even SQL databases are essentially 'flat files' just with a fancy set of controls, if all you are doing is storage and display with no complex queries then using something as simple as a txt file is perfectly adequate.


Reply With Quote
(#13 (permalink))
Old
Leder678's Avatar
Senior Member
Leder678 is on a distinguished road
 
Posts: 1,430
Join Date: Jan 2009
Location: Norway
Send a message via MSN to Leder678
Default 07-15-2011, 08:30 PM

Quote:
Originally Posted by umlautbastards View Post
I'll answer that as it has relevance in my situation as well; when you run a site and your host only gives you one or two databases (as is the case here @ 000webhost.com), you have a limited number of options if you wish to have multiple applications running on your site if you're thinking for-profit (membership/sales/auction sites, etc.). Unless you're highly experienced and know how to cram multiple, differently-named MySQL tables onto a single database (which I'm PAINFULLY going thru right now), flat-file resources are a real enabler to help plow through a domain website build. I'm REALLY happy about the resource that I gave out earlier, and am in the process of tricking it out exactly how I want thanks to its' utter simplicity, the ability to use PHP, and the light weight of the code framework itself - GENIUS .
Just to quote this... just name the tables like gamescript_users and forum_users etc. this way you may live out a million pages with only one mysql User and Database (however, in the longrun this may slow down your webpage, but in that case, it's time to switch host anyway..)


Follow me on twitter @Mortenrb

W3Fools - Read and learn

Please AT LEAST read the 10 bolded lines of the TOS at:
http://www.000webhost.com/includes/tos.php
Reply With Quote
Reply

Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com