![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Jan 2010
Location: France
Posts: 3
Rep Power: 0
![]() |
Hi all,
I have really low exprerience in programing and would like to have some advise on how to start a little project I have. My purpose here is to start with the right tools in from the beginning. I apologise if this long but I wanted to give a clear idea of what I want. I want to write an QCM like application that will read all questions and answers from a database. I remember that I had tried one year ago with Visual C# express with a standalone DB but it was quite difficult to get it working as you have to write everything, even when I managed to have all data field from the DB displayed correctly in my application I came across some issue where modifying the data using the application that I had written would not update the database file in certain occasions (don't remember exactly in what particular case). I have also some experience with PHP and MySQL ( I have developed some simple web-based application in the past) and I find that the management of the database is much more easier when using tools like MySQL-Yog or PHPMyAdmin. The good advantage of a standalone application is that you don't have to worry about installing a DB server but on the other hand you loose a lot of DB functions like export, import data, backup restore etc... Unless I am wrong about the DB functionality provided with Visual C# So here are the questions.. 1. Can I still give a try at C# with standalone is there any tools making it easy to handle DBs in standalone mode? 2. Maybe I can still go Visual C# in standalone but building the DB apart, and when the DB is ready export it as a file that Visual C# can use? (I don't remember what was the file extension used at the time hen I gave it a try). 3. If it's too difficult with standalone I guess I can write something in C# linked to an external MySQL DB that way I can use some DB tools I know already? (but I will always have to have an DB server installed and running somewhere) 4. I am planning after doing this QCM application to start learning game programming, I understand that C++ is the language most used for game programming so instead of continuing learning Visual C# should I not start directly with Visual C++? Thanks for your advices... I not affraid of learning and work so don't hesistate to suggest other tools that I didn't mention in this post Regards, Fabou |
|
|
|
|
|
#2 | |
|
Pro
|
Re: Need help to choose what technology to be used for my project
Write a stand-alone application in C# that reads a local XML file. You won't have to worry about any database management, installation, connections, etc.
Quote:
__________________
I would love to change the world, but they won't give me the source code! |
|
|
|
|
|
|
#3 |
|
Professional Programmer
Join Date: Jan 2009
Location: Dallas, Texas, USA
Posts: 329
Rep Power: 2
![]() |
Re: Need help to choose what technology to be used for my project
I didn't read this whole post, only his reply, but it was a situation I was in before. What I ended up doing was using SQLite for my database management because it was only a single DLL I had to distribute with the app and it worked flawlessly. Again I havn't read over what you needed, but one limitation is only one thing can write to it at once. If you have an extremely high traffic application with dozens of people writing to the same file, this would not be ideal, but then again XML will have the same exact issue.
If u think this is an option u might like u can find the .net SQL lite drivers at: http://sqlite.phxsoftware.com/ You simply install them and then use SQL lite in your datasets just like you would SQL Express. It is extremely nice. I also use http://sourceforge.net/projects/sqlitebrowser/ to edit / modify my SQL Database file. It's surely no SQL Server Manager but it does do get the job done. |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Jan 2010
Location: France
Posts: 3
Rep Power: 0
![]() |
Re: Need help to choose what technology to be used for my project
Thanks both for your inputs,
I know nothing about XML and and I will dig into it, I never though you could do that with it (I mean database stuff) SQLlite is also really attractive and will more likely require less time to investigate. I think I will test both of them and see which one suit me the best. As for C++ I will stick to it because I have read that C++ is portable to Linux but C# is a Microsoft stuff only. Cheers, Fabou |
|
|
|
|
|
#5 |
|
Professional Programmer
Join Date: Jan 2009
Location: Dallas, Texas, USA
Posts: 329
Rep Power: 2
![]() |
Re: Need help to choose what technology to be used for my project
C# can be compiled on unix/mac too using MONO, but in the long run C++ will give u a better understanding probably.
|
|
|
|
|
|
#6 | |
|
Newbie
Join Date: Jan 2010
Location: France
Posts: 3
Rep Power: 0
![]() |
Re: Need help to choose what technology to be used for my project
Quote:
the link you provided is this what they refer to a wrapper or library? I have done some search and foud those links..http://www.codeproject.com/KB/database/CppSQLite.aspx http://www.alhem.net/sql_cpp_tutorial/index.html Are they all doing the same thing, I guess if your suggestion is .NET it might be more integrated to Visual C++ Express so I should go for it then... SqLite seems indeed more apropriate to what I am looking for. Cheers, Fabou |
|
|
|
|
|
|
#7 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 7,869
Rep Power: 14
![]() ![]() |
Re: Need help to choose what technology to be used for my project
XML has its place, but it isn't a panacea. It's like paying 100,000 a year for someone to manage your 125,000 yearly investment.
__________________
The person who coined the phrase, "There's no such thing as a stupid question," hasn't hung around here much. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers Politically Incorrect |
|
|
|
|
|
#8 |
|
Professional Programmer
Join Date: Feb 2009
Posts: 280
Rep Power: 2
![]() |
Re: Need help to choose what technology to be used for my project
I have used borland builder c++ or delphi to make a standalone application that uses a db, it has options to edit , add , check, serach everything you would need.
cheers squills |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| please help to find out a project topic in web technology. | Anjali Rama | Project Ideas | 3 | Nov 1st, 2009 9:12 PM |
| A.I. project. New goals. For interested people only. | lrh9 | Project Ideas | 0 | Oct 12th, 2009 3:58 PM |
| Project Topic On Information Technology | umsatek | Other Programming Languages | 1 | Jul 29th, 2009 1:47 PM |
| How to meet these cross-platform project goals? | mattengland | C++ | 1 | Apr 3rd, 2006 4:01 AM |
| Project List! | raf_123 | PHP | 3 | Mar 31st, 2006 2:32 PM |