Become a part of the TranceAddict community!Frequently Asked Questions - Please read this if you haven'tSearch the forums
TranceAddict Forums > Main Forums > Chill Out Room > XML: Does anyone here know how to use it well? Need some assistance on web developing
  Last Thread   Next Thread
Share
Author
Thread    Post A Reply
Lira
Ancient BassAddict



Registered: Nov 2001
Location: Brasília, Brazil
XML: Does anyone here know how to use it well? Need some assistance on web developing

As some of you might know, I'm working on a language self-study website (one day, I shall finish that guide to electronic music as well, but I can't do it all at once ). As I'm first focusing my work on Japanese, I'm gonna need to have a few more databases than usual (for ideograms 1, words, grammatical rules and whatnot) and that's where my dilemma begins.

Since I'd like to focus my time on the languages rather than on the web design/devoloping, I wasn't looking forward to learning complicated ways of storing files and retrieving data. When I found out how simple XML 2 is, I decided to give it a go. However, combining XML and XSL seems not to be a good idea, because as far as I understood, I'd need to have a different database for every different HTML file, as the Data Islands 3 thingy seems to work in a different way in every single browser (am I doing something wrong?). Can't I use XML databases for several pages without having problems with browsers? What other simple solutions are there? I really was trying to avoid the infamous PHP + MySQL, for example, because I'd rather use something similar to what I know (XHTML, CSS and a little Flash, basically ). Is there any way out?



1 In order to work with ideograms, I'd need something that supports unicode or a less usual character encoding.
2 XML stands for EXtensible Markup Language. If you want more info, click here.
3 Here is the code I'm using. If there's anything wrong, they're to blame


___________________
Indiana Clones Upcoming Sets
[ I May Upload Something Someday ]

Old Post Dec-15-2004 15:55  Brazil
Click Here to See the Profile for Lira Click here to Send Lira a Private Message Visit Lira's homepage! Add Lira to your buddy list Report this Post Reply w/Quote Edit/Delete Message
born2trance
_i_am_trance_



Registered: Dec 2003
Location: indianapolis, indiana

yeah whats the deal with RSS? i know xml and RSS kinda "affiliated"


___________________
i live trance-i breathe trance-i'm all bout trance

support the anti rap, pop, hiphop & country movement!!

catch me on FB

Old Post Dec-15-2004 16:05  United States
Click Here to See the Profile for born2trance Click here to Send born2trance a Private Message Add born2trance to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Lira
Ancient BassAddict



Registered: Nov 2001
Location: Brasília, Brazil

quote:
Originally posted by born2trance
yeah whats the deal with RSS? i know xml and RSS kinda "affiliated"

quote:
What is RSS?

Really Simple Syndication (RSS) is a lightweight XML format designed for sharing headlines and other Web content. Think of it as a distributable "What's New" for your site. Originated by UserLand in 1997 and subsequently used by Netscape to fill channels for Netcenter, RSS has evolved into a popular means of sharing content between sites (including the BBC, CNET, CNN, Disney, Forbes, Motley Fool, Wired, Red Herring, Salon, Slashdot, ZDNet, and more). RSS solves myriad problems webmasters commonly face, such as increasing traffic, and gathering and distributing news. RSS can also be the basis for additional content distribution services.
RSS Syntax

RSS defines an XML grammar (a set of HTML-like tags) for sharing news. Each RSS text file contains both static information about your site, plus dynamic information about your new stories, all surrounded by matching start and end tags.

Each story is defined by an tag, which contains a headline TITLE, URL, and DESCRIPTION. Here's an example:

...

RSS Resources
http://www.webreference.com/authori...guages/xml/rss/
Defined in XML, the Rich Site Summary (RSS) format has
quietly become a dominant format for distributing headlines on the Web.
Our list of links gives you the tools, tips and tutorials you need to get
started using RSS. 0323


...

http://www.webreference.com/authori.../xml/rss/intro/


___________________
Indiana Clones Upcoming Sets
[ I May Upload Something Someday ]

Old Post Dec-15-2004 16:27  Brazil
Click Here to See the Profile for Lira Click here to Send Lira a Private Message Visit Lira's homepage! Add Lira to your buddy list Report this Post Reply w/Quote Edit/Delete Message
EarnYourKeep
LIT



Registered: Dec 2001
Location: twentyonetwo

i use RSS to build ONIX at work

XML basics - data wrapped with tagged text (html style)
RSS - think of it as a streamline of HTML. It's a way to build say "top stories" each day and simply feeding it to your web site without having to alter the XML/HTML similar to the functions of php/asp without the gui or web forms. although RSS/XML offers less control than php/asp.


___________________
I PUT TRADEMARKS AROUND YO MOTHAFUCKIN EYE
JUST ME N YOU

Old Post Dec-15-2004 17:02 
Click Here to See the Profile for EarnYourKeep Click here to Send EarnYourKeep a Private Message Visit EarnYourKeep's homepage! Add EarnYourKeep to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Lira
Ancient BassAddict



Registered: Nov 2001
Location: Brasília, Brazil

No one else works with XML?


___________________
Indiana Clones Upcoming Sets
[ I May Upload Something Someday ]

Old Post Dec-16-2004 14:10  Brazil
Click Here to See the Profile for Lira Click here to Send Lira a Private Message Visit Lira's homepage! Add Lira to your buddy list Report this Post Reply w/Quote Edit/Delete Message
jdat
Jay Van Dat



Registered: Oct 2001
Location: I dont even know

quote:
Originally posted by Lira
No one else works with XML?


You're too 1337 for the rest of us


Props to Maaz! Hail da xml dadda !

Old Post Dec-16-2004 15:35 
Click Here to See the Profile for jdat Click here to Send jdat a Private Message Add jdat to your buddy list Report this Post Reply w/Quote Edit/Delete Message
kevM
Senior tranceaddict



Registered: May 2002
Location: London, Canada

I have to learn XSLT for my CS exam tomorrow


___________________

My DJ Mixes - DJ.KevinMuma.com

Old Post Dec-16-2004 20:17 
Click Here to See the Profile for kevM Click here to Send kevM a Private Message Visit kevM's homepage! Add kevM to your buddy list Report this Post Reply w/Quote Edit/Delete Message
NeoPhono
Übermensch



Registered: Sep 2003
Location: In Orbit

I use an XML RSS feed on my website to disply news. I use zfeeder, a free php script available by searching. Very easy to use. I just used a CSS sytle sheet to modify how I wanted the info displayed.

It's here.

www.columbuscycling.com

Old Post Dec-17-2004 05:11  United States
Click Here to See the Profile for NeoPhono Click here to Send NeoPhono a Private Message Visit NeoPhono's homepage! Add NeoPhono to your buddy list Report this Post Reply w/Quote Edit/Delete Message
brian
vinyl junkie



Registered: Sep 2002
Location: Addison, TX

I've used XML before in some stuff for work -- the simplicity of the formatting/structure makes it extremely easy to parse. I'll be using it very very soon to feed data into a Flash application.

Anyway.. I'm not sure exactly how you want to use this data on a page, but reading through your post several things come to mind. (I'm just going on what you've written so please fill me in on the details if I get any of this wrong.)

If I remember correctly Japanese has a bajillion ideograms. Are you absolutely sure you want to use flat XML files to store ideograms and words? Without doing any server-side processing, that's going to be a huge load for the client-side to handle, and will potentially be a pain for you to manage.

However, if you were to do some server-side processing (such as with PHP), loading XML files with that many tags will place a considerable load on the server. I really think you could benefit greatly by using some sort of database (MySQL, Postgres, ...) to store this stuff. That would solve a huge portion of any potential performance issues, make paging much easier, and would alleviate the browser compatibility headaches you mentioned as well.

There's also the possibility of feeding MySQL (or whatever) data into a dynamic XML file by way of PHP or something. I've done a good deal of dynamic XML stuff at work, worked nicely.

And holy shit, I vote your post as the most well-formatted post evar!

Old Post Dec-17-2004 05:45  United States
Click Here to See the Profile for brian Click here to Send brian a Private Message Add brian to your buddy list Report this Post Reply w/Quote Edit/Delete Message
kevM
Senior tranceaddict



Registered: May 2002
Location: London, Canada


rum + exam = drunk



___________________

My DJ Mixes - DJ.KevinMuma.com

Old Post Dec-18-2004 12:43 
Click Here to See the Profile for kevM Click here to Send kevM a Private Message Visit kevM's homepage! Add kevM to your buddy list Report this Post Reply w/Quote Edit/Delete Message

TranceAddict Forums > Main Forums > Chill Out Room > XML: Does anyone here know how to use it well? Need some assistance on web developing
Post New Thread    Post A Reply

 
Last Thread   Next Thread
Click here to listen to the sample!Pause playbackJ00F @ Global Gathering 2013 ID [2013] [1]

Click here to listen to the sample!Pause playbackWilliam Hawk - "Sunrise" [2004]

Show Printable Version | Subscribe to this Thread
Forum Jump:

All times are GMT. The time now is 09:16.

Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
HTML code is ON
vB code is ON
[IMG] code is ON
 
Search this Thread:

 
Contact Us - return to tranceaddict

Powered by: Trance Music & vBulletin Forums
Copyright ©2000-2025, Jelsoft Enterprises Ltd.
Privacy Statement / DMCA
Support TA!