|
#1
|
||||
|
||||
|
XML - For Dummies...
Eureka!
I almost forgot I had purchased an XML book (ISBN: 0-7645-0692-7) XML FOR DUMMIES 2nd Edition. For some reason I put such in the wrong shelf (and in the wrong room) and lost track of this book. (Ack!) Well, I am hoping I can get some feedback on wether a book that is four (4) years old will be up-to-standards with concerns to XML. Or, would I be better off purchasing a current book on this topic? Thank you in advance for any and all feedback! Sincerely, |
|
#2
|
||||
|
||||
|
What you need to learn about XML is tied to what you need to do with XML. Allow me to refer you to the first verse of my song, "The XML Song":
XML is just a container. It can't write you name in you underpants. Is somewhere for putting you data. Now XML is something you understands. It's probably not scientific, but I write from the heart, so... Anyhow I think the key here is just to be able to do what you need. You can learn an overview of what XML is/does in just a few hours, but applying it to something meaningful is the key. I never use XML for anything personally, so I'm not the best source. But if you need to make your data interactive, then XML is one method worth considering for sure. It's a handy way to structure data in such a way that it can be processed more universally, but it is by no means the only, or arguably even the best, way neccesarily. It really depends on what you need to achieve. XML isn't really a fun toy per se in the same way actionscripting or AMS is, it's rather boring in a sense. It's essentially just a set of rules for laying out data structures. That all being said, Lorne forgets more about XML by noon each day than I'm ever likely to know, so I defer to him, and anyone else who uses XML regularly, i.e. in their daily life as a mild mannered cub reporter for the man. Corey Milner Creative Director, Indigo Rose Software |
|
#3
|
||||
|
||||
|
Still... thank you for your input Corey!
I could use all the suggestions, songs, and guidance I can get. Sincerely, |
|
#4
|
||||
|
||||
|
Intrigued, I can't remember if you're a Flasher or not, but I can show you some scripts that rely on xml to generate dyanmic content for flash - from interactive menus to building entire folders fulll of files.
What Corey didn't mention (not his fault ), is that php and xml work hand in hand (basically). If you look at the slideshow project I posted - that was basic xml structure. But, the mother of that xml (was actually produced by a php script) is php based. And PHP could probably produce CSS file structure as well (I've never used it this way). It could make the CSS, make a XML file for a menu structure and file locations, write the html, log you in, send an email, populate a form, pass other variables to other PHP's, create an image If AMS ever becomes "web based", my life will be over, because I'll never leave my computer (except maybe to go to the bathroom ).
|
|
#5
|
||||
|
||||
|
Yes PHP is the bomb, I've been advocating it since day zero, and in the face of some very heavy duty JSPers too. It works well with XML and most other relevant technologies. But the thing is that the process should never be more complex than the task, and ideally even simpler. It really boils down to the task. For example if you are heavy into electronic documents you would probably find use for XML and/or CSS also. But for typical web pages and small scale web applications maybe not... Much of it comes down to how you are required to interface with the world and what you plan to do with your data.
For a web site which is primarily a typical small scale, static info/product site there would be no advantage to using XML. For a web site which is required to share dynamic data with other systems XML is the way to go. Remember that XML itself doesn't "do" anything, it's not passing any functions to the client/server. It's just a document standard. (http://www.w3.org/TR/REC-xml/#sec-origin-goals) So unless you have a need to interface with someone or something else, it doesn't really have much benefit over storing data in say MySQL or PHP includes. And of course PHP includes are faster to write, test, and parse. You certainly would not want to take a simple web site and then arrange it so your server parses it as XML instead of HTML unless you had a specific need to do so... I guess my point is that XML is great but finding the shortest path between two points is the main thing. One thing about XML, it's highly evangelized so it's easy to get sold on it before you actually need it. ![]() Corey Milner Creative Director, Indigo Rose Software |
|
#6
|
||||
|
||||
|
rhosk, if you do not mind sharing a chunk of source on the topic, that would be much appreciated.
I spent a little time this morning pouring over the XML book to see what it all encompassed. Corey, thanks for the added input. I surely do not want to say over-code any projects, web sites I work on! So, this common sense line of thinking is important and a major factor for me when comparing tools to use. Thanks guys! |
|
#7
|
||||
|
||||
|
Quote:
|
|
#8
|
||||
|
||||
|
Quote:
Thanks in advance rhosk! |
|
#9
|
||||
|
||||
|
You say you've dabbled.....What version (if any) of Flash do you have. And I don't Swish, sorry.
I'll have some examples soon. My computer time is just about over for today but, stay tuned.
|
|
#10
|
||||
|
||||
|
Flash MX version.
Thanks! |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| XML format | TJ_Tigger | AutoPlay Media Studio 5.0 | 6 | 10-04-2005 01:47 PM |
| XML plugin Project example - XML Weather from weather.com | kpsmith | AutoPlay Media Studio 5.0 | 8 | 06-03-2004 06:25 PM |
| Spotlight: XML Actions Plugin | Desmond | AutoPlay Media Studio 5.0 | 1 | 03-15-2004 04:56 PM |
| Using XML Or INI files during install | djpyne | Setup Factory 6.0 | 0 | 10-15-2003 11:55 AM |
All times are GMT -6. The time now is 11:40 PM.








), is that php and xml work hand in hand (basically). If you look at the slideshow project I posted - that was basic xml structure. But, the mother of that xml (was actually produced by a php script) is php based. And PHP could probably produce CSS file structure as well (I've never used it this way). It could make the CSS, make a XML file for a menu structure and file locations, write the html, log you in, send an email, populate a form, pass other variables to other PHP's, create an image
).
Linear Mode

