General Category > Unofficial F/A-18 Acceleration Pack board

The Greenie board comes back

<< < (2/3) > >>

Paddles:

--- Quote from: Orion on December 21, 2013, 06:14:17 am ---I guess XML serialization isn't an option?

--- End quote ---

Nothing is impossible  ;D


--- Quote from: Reject on December 21, 2013, 02:12:11 am --- if the logbook is formatted in xml or json, its not all that hard to have a php file read the document and either upload it to a database or even to a text doc that gets read out as html?

The php file could be included, and could be handled by people without much knowledge of the language?

I would be more than happy to write it up as well.

--- End quote ---

Ok guys. The XML format is good for data exchange, which is it's main purpose I believe. So, I attached a XML test table with some fictitious logbook data just to show you how these data look like in XML form. I decided to use MS Office schema so that this file could well be  parsed by a PHP script or loaded right into MS Excel.

However, the XML is no good to store the raw logbook data, mainly because of its text nature. That's why I have chosen the binary format which is the fastest...

Reject:

--- Quote from: Paddles on December 21, 2013, 04:27:14 pm ---
However, the XML is no good to store the raw logbook data, mainly because of its text nature. That's why I have chosen the binary format which is the fastest...


--- End quote ---

How much of a task is it to convert from binary to XML "on-the-fly" so to speak

pyroperson87:
So circle on the greenie board means you're a qual, and square means you aren't yet, right?

Paddles:

--- Quote from: Reject on January 04, 2014, 10:46:23 am ---How much of a task is it to convert from binary to XML "on-the-fly" so to speak

--- End quote ---

Not much, actually. But if you mean using the XML format to store raw data, there are a number of drawbacks/weaknesses which prevented me from using this format. At the very beginning of this project I did seriously consider the XML, but had to stay with the binary.


--- Quote from: pyroperson87 on January 04, 2014, 07:31:48 pm ---So circle on the greenie board means you're a qual, and square means you aren't yet, right?

--- End quote ---

They mean nothing  ;D These are there just to demonstrate various forms, backgrounds etc. The shape, color and all that stuff is completely at your squadron authorities' discretion.

Reject:

--- Quote from: Paddles on January 05, 2014, 12:45:08 pm ---Not much, actually. But if you mean using the XML format to store raw data, there are a number of drawbacks/weaknesses which prevented me from using this format. At the very beginning of this project I did seriously consider the XML, but had to stay with the binary.

--- End quote ---

Being able to click a button to export to a clear text format (XML or other) would be a massive start, from there the only task is getting it on a server and formatting it.
I know i could write up the php(and or mysql) to place it all nice looking on a page and even write the ability to commit the file to a database, but i'm not sure how that works for the community at large.

Also, if an "Upload" feature was avalible this would make the above even more hands free, again not sure how others like this?

I (or someone else?) could come up with an easy format to write this particular data, maybe even in XHTML, I'm not all that great with javascript, but that would be another option that could avoid playing with databases by just committing every new logbook to a text file "on server" (A Sort of global Greenie board)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version