HighDots Forums  

What is the difference between a blog and a database

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss What is the difference between a blog and a database in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
matthew stuart
 
Posts: n/a

Default What is the difference between a blog and a database - 02-13-2009 , 08:14 AM






I haven't really got into this blogging malarkey so I don't fully understand
the difference between a blog and an interface where one is able to add content
to a database and simply do a repeat region for all entries.

What's the benefit of a blog over the database system I have mentioned? Is
there any difference? Does a database drive a blog where an ASP/PHP/CF page
deciphers it into XML?

This question has come about from a question asked of me. I looked at the code
to a page and discovered that even though the page had a suffix of .xml, it had
a full range of html tags in it!! How is that possible?

Mat


Reply With Quote
  #2  
Old   
Dooza
 
Posts: n/a

Default Re: What is the difference between a blog and a database - 02-13-2009 , 08:30 AM






matthew stuart wrote:
Quote:
I haven't really got into this blogging malarkey so I don't fully understand
the difference between a blog and an interface where one is able to add content
to a database and simply do a repeat region for all entries.

What's the benefit of a blog over the database system I have mentioned? Is
there any difference? Does a database drive a blog where an ASP/PHP/CF page
deciphers it into XML?

This question has come about from a question asked of me. I looked at the code
to a page and discovered that even though the page had a suffix of .xml, it had
a full range of html tags in it!! How is that possible?
A blog is an online application that is driven by a database. Yes, you
could easily create one with your database and a repeat region, but why
reinvent the wheel when its been done so well by countless others?

XML is just one of the outputs the blogs can provide, its a way for
others to subscribe to the blog without actually visiting the site. Its
the "in" thing at the moment.

ASP/CF/PHP pages can output XML, the XML data can contain some HTML
tags, so that they display a certain way in the RSS reader, but
generally XML should be without style.

Dooza
--
Posting Guidelines
http://www.adobe.com/support/forums/guidelines.html
How To Ask Smart Questions
http://www.catb.org/esr/faqs/smart-questions.html


Reply With Quote
  #3  
Old   
matthew stuart
 
Posts: n/a

Default Re: What is the difference between a blog and a database - 02-16-2009 , 09:46 AM



OK, so now having done a bit more digging about, I have found that xslt is more
than likely what I was looking at. So, tell me, do xsl tags disappear in the
same way php or asp tags do when the page is loaded in to a browser?

XSL stands for eXtenensible Stylesheet Language; is that effectively the same
thing as CSS. Am I able to build in stylesheet info such as div structure or
font sizes and colours?

I've done a search on xsl, but it is showing quite basic info with regards to
being able to repeat regions and so forth, but nothing about styling fonts etc


Reply With Quote
  #4  
Old   
Dooza
 
Posts: n/a

Default Re: What is the difference between a blog and a database - 02-16-2009 , 10:49 AM



matthew stuart wrote:
Quote:
OK, so now having done a bit more digging about, I have found that xslt is more
than likely what I was looking at. So, tell me, do xsl tags disappear in the
same way php or asp tags do when the page is loaded in to a browser?

XSL stands for eXtenensible Stylesheet Language; is that effectively the same
thing as CSS. Am I able to build in stylesheet info such as div structure or
font sizes and colours?

I've done a search on xsl, but it is showing quite basic info with regards to
being able to repeat regions and so forth, but nothing about styling fonts etc
Can't answer any of your questions, as I have never used XSLT before,
but after a quick bit of googling I would say yes, the only difference
is that you are applying styles directly to each tag in the XML file.

http://www.w3.org/Style/styling-XML

You can embed them or link to them, and yes, its just normal CSS that
the browser will render your XML with.

I would say give it a go, play around, see what you can discover.

Dooza
--
Posting Guidelines
http://www.adobe.com/support/forums/guidelines.html
How To Ask Smart Questions
http://www.catb.org/esr/faqs/smart-questions.html


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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.