Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by byerdelen · Jul 30, 2012 at 11:30 AM · loaddatabasedataexcel

Best tool to load data

Hi community, I have used XML, txt to load data till now but right now I am making a mobile app for my client and I need to load huge sorted data from web and he has to understand it, change it. So the best use for him is Excel and then txt and then xml. Data will be huge so the speed and the disk space may matter, also I prefer the simplest way for him to use it. My question is what are the advantages and disadvantages to load data from those platform in data loading speed and memory/disk space wise? I guess many people would like to know it from community. Thanks for your help from now!

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image whydoidoit · Jul 30, 2012 at 12:44 PM 0
Share

Excel files are now stored natively in X$$anonymous$$L - can you use that?

avatar image byerdelen · Jul 30, 2012 at 12:57 PM 0
Share

Oh wow, it is a cool workaround that I haven't thought of. I will definitely keep that in my $$anonymous$$d. Although I am trying to have more info what is the advantages and disadvantages to use those formats while taking data loading speed and memory/disk space wise so I can choose my main web data loading method. But thanks for that, it is a method that I can easily show to the client to use it after he arranged his excel.

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by MadDave · Jul 30, 2012 at 01:06 PM

Here is what I would do (and actually have done in the past):

Your client likes and understands Excel - great, stick with Excel Write a converter that converts the source Excel sheets into whatever format you prefer for your app (see below). You probably need a converter in the other direction as well, i.e. create or update an excel sheet from your own data format.

Excel has a decent .NET API that allows you to read and write Excel documents easily. Microsoft has a nice introduction: http://support.microsoft.com/kb/302084

Internally your app can use XML or a binary format. XML seems to be the natural choice to send data over the web (but you probably want to enable compression). Storing and accessing huge amounts of data on the device is a different matter since memory and disc speed is limited. A real database may be right choice here. Check out SQLite (http://www.sqlite.org/). SQLite is C, so it can be compiled for any platform and there are decent C# wrappers available.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image byerdelen · Jul 30, 2012 at 01:12 PM 0
Share

I will check the excel .NET API and use X$$anonymous$$L internally, it seems the best option for now. Thanks a lot!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Dynamically load json data to a game: What are the best practices? 1 Answer

How to import data into Microsoft Excel? 1 Answer

save load exp on database 2 Answers

Xml Saving and Loading Problems 1 Answer

Calling Json script and displaying the Images within the script 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges