There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer blue screen boot bsod computer connection crash css dell display driver drivers email error ethernet excel firefox firefox 3 game hard drive hardware internet internet explorer itunes laptop linux malware monitor network networking outlook outlook 2003 outlook express partition password printer problem problems ram router slow sound trojan usb video virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
PHP and mysql but not a website


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
denise_0006's Avatar
Junior Member with 20 posts.
 
Join Date: Jun 2007
Experience: student
25-Oct-2007, 12:57 PM #1
PHP and mysql but not a website
ever since i started messing around databases, they all have been made for website deployment... My question what are some possible applications/software/language... (i dont know how to call it.. but like visual basic) that i can integrate with php and mysql without developing a website? what about asp.net and mysql? is that possible? THANKS!!!
MMJ's Avatar
MMJ MMJ is online now
Distinguished Member with 3,260 posts.
 
Join Date: Oct 2006
25-Oct-2007, 02:03 PM #2
You want to use PHP & MySQL for local dev?

Something like this: http://gtk.php.net?
Fyzbo's Avatar
Senior Member with 1,777 posts.
 
Join Date: Feb 2002
Location: North Carolina, USA
Experience: Programming-Advanced|EVER
25-Oct-2007, 02:06 PM #3
I'm a bit confused by the question, but I will try.

Databases are not specific to web development. You can use mysql, mysqli, ms sql, ms sql express, oracle, etc. with both websites and applications. Most databases can be used with a variety of programming languages, of course some combinations are easier then others.
i.e. asp.net + ms sql
php + mysql

php and asp.net are both specific to websites. Although there is work being done to allow php to be used in desktop applications, php was originally designed for and works best for websites.

If you would like to move away from website development and into application development there are many languages to choose from. In the Microsoft world you have the .net runtime supporting many languages including vb, C#, etc. In the open source world you have C, C++, Java, etc. Most of these languages will connect to the multiple databases available.

I don't know if I addressed your question, if I haven't please say so.
denise_0006's Avatar
Junior Member with 20 posts.
 
Join Date: Jun 2007
Experience: student
26-Oct-2007, 01:14 AM #4
hi! u sort of answered the question.. yes.. i would like to develop an application instead of a website... so, i just wanna ask can i use C# and mysql together?
how do i connect to the database using C#? and is there an IDE out there that can help me hasten my development? if i choose C# and mysql, what is the other language i need to create the gui part??? Thanks!
haswalt's Avatar
Computer Specs
Senior Member with 416 posts.
 
Join Date: Nov 2004
Location: South Coast, UK
Experience: Advanced
26-Oct-2007, 08:40 AM #5
well for desktop dev on windows you could use many different languages to develop the GUI:

.NET, c# etc

MySQL will work with these, but not sure why you would want to it's a lot easier to use MSSQL.

If you go ont eh MySQL website there is a list of all the plugins and code to utilise MySQL with desktop languaes.

Alternativley if you have experience with PHP and MySQL and want to develop desktop systems why not look into a solution like GTK (mentioned above) or winbinder. These both give you the ability to write desktop software with PHP. I've played with winbinder and found it very useful. Although it will never be as powerful or quick as my VB.NET applications but is close.
__________________
LQD Internet Limited
We've just got better! With the launch of our new site we have SLASHED our prices and upped the offering. Check it out!

10% Discount for ALL Tech Support Guy Members
Simply use the promo code of "T3CHGUY" when ordering to recieve your 10% discount on all shared and reseller hosting packages.
Fyzbo's Avatar
Senior Member with 1,777 posts.
 
Join Date: Feb 2002
Location: North Carolina, USA
Experience: Programming-Advanced|EVER
26-Oct-2007, 08:45 AM #6
I agree, if you want to learn .net you should download visual studio express and MS Sql Express, both are free. If you want to continue using mysql you can with .net, but it may be easier to use a different programming language.
denise_0006's Avatar
Junior Member with 20 posts.
 
Join Date: Jun 2007
Experience: student
26-Oct-2007, 10:30 AM #7
ok... originally i want to develop a desktop application with php and mysql... what are the things i need to know and get before i get started?
denise_0006's Avatar
Junior Member with 20 posts.
 
Join Date: Jun 2007
Experience: student
26-Oct-2007, 10:36 AM #8
and in php-gtk, there are soooo many stuff to download! which one should i download? which is the latest and the most stable?
haswalt's Avatar
Computer Specs
Senior Member with 416 posts.
 
Join Date: Nov 2004
Location: South Coast, UK
Experience: Advanced
26-Oct-2007, 10:37 AM #9
well first off itis not as easy as you think.

What you really need is aplan of action and reasons why you want to develop this with php not some other desktop development language.

You need some good reasons why not as php will never be as stable, secure or useful as real desktop dev languages.

Now what you need to next decide is the method of parsing the software. Either GTK or winbinder. While i have never used GTK i have used winbinder extensivily and would recommend it: www.winbinder.org. (Although i think the windbinder project is pretty much dead and GTK is still on going).

Then you need to decide who this is being aimed at, this wil determine what method you willuse to build the app. Be warned building for windows is NOT easy and i found it took a few hours hit and miss to work it out. But i can help with this.

Then you need to spend a few hours reading throught eh documentation for the respective dlls to work out how to use them with php.

Once that si done you can start coding. write the scripts as you would nomral php and simply include the commands required by the dlls to build the windows interface. Then when done build into a windows executable.

I then used Ino Setup to create distributable programs that could be installed and uninstalled. Veyr good would recommend that and no other too!!

Harry
__________________
LQD Internet Limited
We've just got better! With the launch of our new site we have SLASHED our prices and upped the offering. Check it out!

10% Discount for ALL Tech Support Guy Members
Simply use the promo code of "T3CHGUY" when ordering to recieve your 10% discount on all shared and reseller hosting packages.
Fyzbo's Avatar
Senior Member with 1,777 posts.
 
Join Date: Feb 2002
Location: North Carolina, USA
Experience: Programming-Advanced|EVER
26-Oct-2007, 11:55 AM #10
Personally I will never understand using php for desktop applications. It was designed for websites and as a scripting language has definite limitations.
denise_0006's Avatar
Junior Member with 20 posts.
 
Join Date: Jun 2007
Experience: student
28-Oct-2007, 06:20 AM #11
hi the reason i chose php is because i wanna develop my skills with it! but since it is not advised to use php... what are some languages i can use aside from vb.net and C#? if i choose vb.net, what are the things i need to have inorder to get started? in my application, i really need a database. That is why i also chose php because i have mysql installed already in my computer.. what advisable databases (free or opensource) that i can use for my application?
haswalt's Avatar
Computer Specs
Senior Member with 416 posts.
 
Join Date: Nov 2004
Location: South Coast, UK
Experience: Advanced
29-Oct-2007, 07:54 AM #12
well if you use vb.NET (my best recomendation anyway) you can install the free MSSQL Dev version. This only allows one database with a max of 50meg i believe but depends what you are doing but you're not likely to hit that limit.

It's freely available fromt the microsoft website. Alternativly, get on MySQL's website get the plugins for vb.Net to allow connections to MySQL. It's a pain but can be done witha little perserverance. I managed it. But i moved to MSSQL becuase it's so much more powerful, quicker and easy when developing deskto applications.

If you are considering doing proper desktop development, you really want to spend the money and buy visual studio or something liek that and a real version on MSSQL, or consider using flat file databases for more basic approach and portability.
__________________
LQD Internet Limited
We've just got better! With the launch of our new site we have SLASHED our prices and upped the offering. Check it out!

10% Discount for ALL Tech Support Guy Members
Simply use the promo code of "T3CHGUY" when ordering to recieve your 10% discount on all shared and reseller hosting packages.
Fyzbo's Avatar
Senior Member with 1,777 posts.
 
Join Date: Feb 2002
Location: North Carolina, USA
Experience: Programming-Advanced|EVER
29-Oct-2007, 09:11 AM #13
I would recommend Visual C++ or Java. You already have MySql installed and know how to use it so continue using it. Both have ups and downs and although .net may be more common in the business world today you will learn a lot about programming from C++ and Java.

If you do go .net try C# as it will be closer to php then vb.
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:54 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.