Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 20:21

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



question about database

Discussion on question about database within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2013
Posts: 18
Received Thanks: 18
question about database

why do we use the app server to host a mysql database ?
why do we use nhibrinate or subsonic or ado.net or any Object/Relational-Mapper solutions for accessing that database ?

why don't we use the microsoft integrated local(compact) and express databases within the visual studio

what is the alternatives for stuff i've mentioned above (like why not we use another RDMS than mysql or another language than sql) , why not we use ms sql studio than navicate

it's kinda embarrassing to ask but more embarrassing to stay stupid sorry i couldn't just take it as it is and use it without proper understanding of the concept
i picked the red pill too is offline  
Old 09/13/2013, 20:25   #2
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,191
Cleaned. Please stay on topic.

There are a lot of different query languages, and there are a lot of ways to manage those languages. MySql and Microsoft's SQL language seems to be the top two in this community. They're both good, but Microsoft's SQL language has optimizations for C# and their .NET languages, so it's slightly faster. They're still both very good. Now, as far as managing databases written in those languages, a popular way to go is object-relational-mapping. You can easily create a relational mapper, but there are some very good ones that a lot of people here use (such as NHibernate and Subsonic). The idea behind object-relational-mapping is that rows are read in and parsed as objects (rather than reading in one column at a time like Impulse's source did). It allows for more tasks to be done using less transactions per task. Hopefully that's what you were asking about. Good luck.

Edit: Also, you should try not to use appserv. It's out of date by a few years now. You can download each service appserv offers (such as ), or you can download something similar... like . Navicat is just a tool used to view your database (it's not a language or service).
Spirited is offline  
Thanks
1 User
Old 09/13/2013, 23:03   #3
 
elite*gold: 0
Join Date: Sep 2013
Posts: 18
Received Thanks: 18
Quote:
Originally Posted by Fang View Post
Cleaned. Please stay on topic.

There are a lot of different query languages, and there are a lot of ways to manage those languages. MySql and Microsoft's SQL language seems to be the top two in this community. They're both good, but Microsoft's SQL language has optimizations for C# and their .NET languages, so it's slightly faster. They're still both very good. Now, as far as managing databases written in those languages, a popular way to go is object-relational-mapping. You can easily create a relational mapper, but there are some very good ones that a lot of people here use (such as NHibernate and Subsonic). The idea behind object-relational-mapping is that rows are read in and parsed as objects (rather than reading in one column at a time like Impulse's source did). It allows for more tasks to be done using less transactions per task. Hopefully that's what you were asking about. Good luck.

Edit: Also, you should try not to use appserv. It's out of date by a few years now. You can download each service appserv offers (such as ), or you can download something similar... like . Navicat is just a tool used to view your database (it's not a language or service).
thank you for your time and for such information, but still i would love to ask something

first :
regard the object relational mapper, if i can praise the data from database to an object safely and efficiently to an objects would i still need one ? i'm spending weeks now to master linq/anonymous types/lambada for such an approach, would that do the trick ?

second :
why do i need to have the appserv or any of it's updated alternatives ? is that releated to phpmyadmin and such that host connection between database on certain port with the applications ?

third :
how to create a mysql database and make it functional

im sorry once more but knowledge is tempting me to ask more, thanks for not just passing by like everybody else
i picked the red pill too is offline  
Old 09/13/2013, 23:28   #4
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,191
Quote:
Originally Posted by i picked the red pill too View Post
thank you for your time and for such information, but still i would love to ask something

first :
regard the object relational mapper, if i can praise the data from database to an object safely and efficiently to an objects would i still need one ? i'm spending weeks now to master linq/anonymous types/lambada for such an approach, would that do the trick ?

second :
why do i need to have the appserv or any of it's updated alternatives ? is that releated to phpmyadmin and such that host connection between database on certain port with the applications ?

third :
how to create a mysql database and make it functional

im sorry once more but knowledge is tempting me to ask more, thanks for not just passing by like everybody else
An object relational mapper just takes a row (or multiple rows) from a database, then uses a map of the table to map values to fields in the object you defined. I created my own in the C++ project I released, but it was extremely basic (I used enumeration types to parse the row into the object). If you can do that without a mapper, that's fine. I find NHibernate to be a great, flexible mapper though (which is why I use it).

AppServ is just a collection of services. It contains PHP and MySQL, but as I said... they're very out of date because AppServ hasn't been updated in years (last updated in 2008 I believe). That's absolutely ancient in database management service updates. As far as a MySQL database, I'm sure there are tutorials everywhere. I know there are because I had to look them up for C++. Try looking into sources here as well (if you want to do it in C#).
Spirited is offline  
Old 09/14/2013, 01:59   #5


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
AppServ is outdated. I used (before using separate things) WAMP, which is still kind of up-to-date. (Apache : 2.4.4 MySQL : 5.6.12 PHP : 5.4.12 PHPMyAdmin : 4.0.4 SqlBuddy : 1.3.3 XDebug : 2.2.3) It could be a good alternative if you don't want to setup everything.

AppServ 2.6.0 (last version) contains Apache 2.2.8, PHP 6.0.0-dev, MySQL 6.0.4-alfa, phpMyAdmin -2.10.3. Basically, unstable packages with outdated ones... AppServ 2.5.10 contains Apache 2.2.8, PHP 5.2.6, MySQL 5.0.51b, phpMyAdmin -2.10.3.
CptSky is offline  
Old 09/14/2013, 02:06   #6
 
turk55's Avatar
 
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
And as for Windows, if you don't want to use seperate packages, use Wamp or Xampp.
turk55 is offline  
Old 09/14/2013, 03:50   #7


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
Quote:
Originally Posted by turk55 View Post
And as for Windows, if you don't want to use seperate packages, use Wamp or Xampp.
Edited. I wanted to say WampServer I've never used MAMP on OS X as Apache & PHP are already in the OS...
CptSky is offline  
Thanks
1 User
Old 09/14/2013, 14:39   #8


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
There's no requirement for you to use AppServer, or any packages such as Xamp, Wamp, Mamp, etc. I never have, they are normally more trouble than they are worth.
Korvacs is offline  
Reply


Similar Threads Similar Threads
Database Question
12/29/2012 - Dekaron Private Server - 8 Replies
Someone hacked my friends database and put Before and after ever character name. Is there any way for her to remove that tag without deleteing the whole database? Thanks
Question about Database.
05/29/2011 - Kal Online - 7 Replies
I recently got blocked in a p-server for using thiesus stormhack, the reason that he blocked me had something to do with database value's. So does anyone know how he can see in a database how i was stormhacking. I personally think he saw in the database i made 5 lvl's in 10 min for example. Or could there be something else in the database on how he made his conclusion i was stormhacking. Thanks.
[QUESTION] (PKT database)
03/15/2010 - EO PServer Hosting - 2 Replies
Some on has a "WORKING" pkt database? I mean , Ive got lots of database, none of them the pkt worked fine 0.0 So can someone "realease" the cq_action or maybe only the pkt tableīs (would be lots easy`r for me xP ) to i can fix this issue in my database.... 'm not really good with pkt fixes so i need an right example :bandit: (or rest thats needed for the pkt)
[Question] Database
03/11/2010 - EO PServer Hosting - 8 Replies
Is there a script that you can run to clean out your database. I've noticed there is a lot of things left over from the previous owner.
question about getting database
05/25/2009 - SRO Private Server - 10 Replies
Hi all,just wondering how people gets original database from Sro,i mean they pay for it?they stole it? People from ecsro made it,but they donīt have the whole thing,so that make me guess they just stole it or something. Wanna know your opinnions :mofo:



All times are GMT +1. The time now is 20:24.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.