Web Hosting Talk


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : drudge style
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.

 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-11-2008, 12:13 AM
kuzushi kuzushi is offline
View Beta Profile
New Member
 
Join Date: Oct 2008
Posts: 2
Question drudge style

I'm creating a page similar to drudgereport.com. I do not know anything about php and mysql and want to avoid those two for security issues. I also dislike wordpress which could be a potential option. However, WP again has some things which get in the way and I would rather stay from it. I'm just now learning css.

Is there a way to make a dynamic site like drudge without these two? I like the simplistic style.

I looked at the source code and see no php or css tags. They must be doing something from the back end, while the front source shows another.

Reply With Quote
Sponsored Links
  #2  
Old 10-11-2008, 12:33 AM
vibrokatana vibrokatana is offline
View Beta Profile
Web Hosting Guru
 
Join Date: May 2008
Location: FL
Posts: 336
Quote:
Originally Posted by kuzushi View Post
I'm creating a page similar to drudgereport.com. I do not know anything about php and mysql and want to avoid those two for security issues. I also dislike wordpress which could be a potential option. However, WP again has some things which get in the way and I would rather stay from it. I'm just now learning css.

Is there a way to make a dynamic site like drudge without these two? I like the simplistic style.

I looked at the source code and see no php or css tags. They must be doing something from the back end, while the front source shows another.
You do know that Wordpress is written in PHP and connects to a MySQL database right? Also that site has some CSS, but not much ( only one part I could find 'style="display: none;"', which is technically CSS but embedded )

PHP is executed on the server, so the client should never see it ( if they do, you're doing something wrong ). In order to have a dynamic website you have to have something that processes the logic and presumably you will have some type of storage ( database, flat file, etc ) to stow away the changes to the website. Without those two things you can't really have a "dynamic" website.

Reply With Quote
  #3  
Old 10-11-2008, 01:41 AM
etogre etogre is offline
View Beta Profile
Web Hosting Evangelist
 
Join Date: Aug 2003
Location: California, USA
Posts: 532
There are absolutely no security issues with PHP or MySQL, so long as you code it right (sanitize data for SQL Injections and XSS attacks). Using WordPress will keep you safe (no known vulnerabilities are in the latest version).

__________________


Reply With Quote
Sponsored Links
  #4  
Old 10-11-2008, 08:15 AM
Kernelpower_Ltd Kernelpower_Ltd is offline
View Beta Profile
Newbie
 
Join Date: Oct 2008
Location: cambridgeshire UK
Posts: 13
drudge report is an interesting site , is their any reason you picked that particular site ( i.e.content ) or do you just like the look of it??

Reply With Quote
  #5  
Old 10-11-2008, 01:02 PM
ThatScriptGuy ThatScriptGuy is offline
View Beta Profile
Web Hosting Master
 
Join Date: Feb 2003
Location: AR
Posts: 2,139
Quote:
Originally Posted by kuzushi View Post
I looked at the source code and see no php or css tags. They must be doing something from the back end, while the front source shows another.
You didn't see PHP tags because PHP code is processed on the server and HTML is then sent to the browser. WHT is powered by PHP but you won't see any PHP tags in the source code.

Any language can become insecure in the hands of an inexperienced person.

__________________
Kevin Cackler
That Script Guy
(479) 437-9874

Reply With Quote
  #6  
Old 10-11-2008, 01:24 PM
kuzushi kuzushi is offline
View Beta Profile
New Member
 
Join Date: Oct 2008
Posts: 2
I'm definitely inexperienced. That injection thing must be what I remember reading. As for drudge, I can quickly scan the news links and get on with my day -minus the recent ads. Prefer minimalism.

Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement: