eWebTalk
Home Register New Posts FAQ eWebTalk TOS/Rules Advertise eTools

Go Back   eWebTalk Community > The Webmaster Forums > Programming & Scripting

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 16, 2007, 8:54 AM   #1
 
Nullified's Avatar


Nullified
Will you play with me?
eArcade Awards
Join Date: Dec 2004
Location: Outer Space
Posts: 2,086
Yapper(s): 1000547083807.00 (Donate)
 
Reply With Quote

I have been working on a project lately that consists of coding a website in all php/mysql and having the xhtml code stored in a database where I can edit it from a control panel. The pages don't have that much content that requires php code.

What are you thoughts on this? Good or bad? Pros & Cons?
Nullified is offline  
View profile Send PM to user Email user View user's homepage  
Word from our Sponsor:
Old Aug 19, 2007, 10:04 PM   #2
 
A.Ah's Avatar


A.Ah
I run like a Monkey
eArcade Awards
Join Date: Aug 2004
Location: Ontario, Canada
Posts: 4,068
Yapper(s): 1273299994.20 (Donate)
Send a message via ICQ to A.Ah Send a message via AIM to A.Ah Send a message via MSN to A.Ah Send a message via Yahoo to A.Ah
 
Reply With Quote

Mysql as a way to access the templates I personally find to be better. I have been storing templates in databases lately, but it was more because of the fact I didn't want our clients to have too much access to some of the core files on the server. This way the only way they can edit is just on the database protecting application/flatfiles from misuse. Speed wise, as I was saying in another post, I don't think it is a relevant argument these days. Plus, lately I have been working around with MySQL and finding newer functions within it I think it makes it a much more powerful medium to deliver your xhtml code. One thing you may want to look out for is SQL injection.

Cons of this method; I would say is poor maintenaince. Due to frequent edits/deletions, template tables will tend to have overhead space allocated, so it is important to run OPTIMIZE queries once in awhile.
__________________
»» eBypassnow Launched :: Bringing the e to free access
»» Click Here to Access! :: http://www.ebypassnow.com
»» Premium Access for eWeb Members!
A.Ah is offline  
View profile Send PM to user Email user View user's homepage  
Old Aug 29, 2007, 3:55 PM   #3
 
Nullified's Avatar


Nullified
Will you play with me?
eArcade Awards
Join Date: Dec 2004
Location: Outer Space
Posts: 2,086
Yapper(s): 1000547083807.00 (Donate)
 
Reply With Quote

yea, it's going to be a pain when editing my designs, but the table optimizations could be easily fixed with a cronjob.
Nullified is offline  
View profile Send PM to user Email user View user's homepage  
Old May 30, 2008, 2:55 PM   #4
uvwx669
Member
eArcade Awards
Join Date: May 2008
Posts: 95
Yapper(s): 1665.00 (Donate)
 
Reply With Quote

__________________
网站优化
uvwx669 is offline  
View profile Send PM to user  
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -5. The time now is 8:51 PM.

Index  |  Members  |  Contact Us!  |  Referrals  |  Archive  |  Staff  | 
eWebTalk Community ©2004-2006 All Rights Reserved.   Hosted by: eVirtual Host - Host With the Best!
Powered by: vBulletin Version 3.0.7, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.