?
Solved

Asking for good advice. Delphi 7 capability

Posted on 2006-07-01
15
Medium Priority
?
402 Views
Last Modified: 2010-04-04
Hi everybody,

 I would like to ask some questions and i know your expertise & no. of years of experience using Delphi can answer my question fairly and brilliantly.

Im planning to create an application that will use the DELPHI 7 & mySQL. The database (mySQL) server is located remotely, in other words, the network structure in not intranet but WAN. Just like a webpage the database is located remotely.

Now my question are
1. Is Delphi capable of accessing mySQL using WAN connection (over the internet)?
2. Is it SLOW when in terms of quering data? Are there any workaround for the slowness?

Anybody can give me a good advice?
0
Comment
Question by:ryan_sabarre
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 10
  • 4
15 Comments
 

Author Comment

by:ryan_sabarre
ID: 17023610
Thanks in advance. Hope i can still use delphi... on WAN.
0
 

Author Comment

by:ryan_sabarre
ID: 17023618
Are there any sites also that gives a free mySQL link? i want to try creating a simple applicatin that will link a server over the internet.
0
 
LVL 28

Accepted Solution

by:
2266180 earned 1000 total points
ID: 17023801
there are plenty of mysql libs/components out there, lot of them even free.
vheck out thsi page on quite a few resources: http://delphi.about.com/od/mysql/

regarding the speed: it is the same for all kind of db servers; it only depends on you wan capabilities. there is of course the option of using compression, but that depends on the data if you will have significant increase in speed due to this compression.

a list with components: http://delphi.about.com/cs/toppicks/tp/aatpmysql.htm

most people I heard use zeos. so you can try that (in the idea that you will get much easier support around here :) )

also found an open source component: http://www.productivity.org/projects/tmysql/

cheers
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:ryan_sabarre
ID: 17024008
So your trying to say that Delphi 7 is very much capable of doing a WAN?
0
 

Author Comment

by:ryan_sabarre
ID: 17024049
Hi if i use zeos, does it uses a ODBC still? Is it capable in accessing servers remotely (WAN)? dO You know of any site that i can test my program if it does connect the mysql from their site?
0
 

Author Comment

by:ryan_sabarre
ID: 17024054
wich of the zeos packages should i download? Which is a reliable free component that does not expire and will run without any dll required?

http://delphi.about.com/gi/dynamic/offsite.htm?zi=1/XJ&sdn=delphi&zu=http%3A%2F%2Fzeoslib.sourceforge.net%2F
0
 

Author Comment

by:ryan_sabarre
ID: 17024065
HI by the way, does zeos support delph 7? It only has the 4,5 & 6 version
0
 

Author Comment

by:ryan_sabarre
ID: 17024279
Hi ciuly,
 
 I installed zeos in my delphi, i got an error when intalling "zeosctrl". There's an error

requires
  rtl,
  vcl,
  dbrtl,
  vcldb,
  ZCommon6; <-------- Cannot find this file.

Where can i find Zcommon6?
0
 
LVL 28

Expert Comment

by:2266180
ID: 17024316
delphi has nothing to do with the network connection. windows will take care of that. (that includes wan)

for the resto fo the questions, there should be someone who worked with zeioa around to answer.
0
 
LVL 28

Expert Comment

by:2266180
ID: 17024322
did you follow all the steps described in the zeos install readme file? there should be something to add some paths to delphi lib path
0
 

Author Comment

by:ryan_sabarre
ID: 17024332
I received too many errors, missing files when i installed zeosctrl. I want to know who has a zeos components that has the complete setup
0
 

Author Comment

by:ryan_sabarre
ID: 17024364
Yes i did follow the steps, i did not forgot also to include the lib path. do you know of any other free good component that connects mySQL without using ODBC or ADO?
0
 
LVL 28

Expert Comment

by:2266180
ID: 17024560
well, that link I gave you: http://www.productivity.org/projects/tmysql/ they say they don't use odbc. take a look at theri site
0
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 17026508
Your initial idea is not the perfect solution. I think you need the so called "3-tiered" architecture.

Consider this:
  DB <-> App.Server <-> ...................WAN........................ <-> Client

You can implement App.Server as COM/COM+/WebService that is located nearby the Database. The from clients worldwide you can access the Application Server. If you use WebServices, you application will be open to other applications that may need interface to your system.

About speed: Since MySQL operations (most of them) are really quick, the total speed will depend on the transfer speed in WAN. If you don't transfer datasets more than 10,000 rows and you have at least 64Kbps WAN speed, you application will work excellent.
0
 

Author Comment

by:ryan_sabarre
ID: 17047837
ciuly ,

 Thanks for your help. I have learned many things here specially you gave me the idea of using zeos components. Thanks a lot. I'm using the zeos components now but not the zeos controls because i still am encountering problem when installing the zeos controls components. So therefore Delphi is still good in using mySQL connected in the WAN.

Thanks a lot.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month9 days, 7 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question