Discuss Php mysql and flash "oh my" in the Flash Help forum on Dev Shed. Php mysql and flash "oh my" Flash Help forum discussing all products originally created by Macromedia including DreamWeaver, Contribute, Flash, Fireworks, Freehand, Director, Authorware and HomeSite. Adobe bought Macromedia in 2005.
Receive the tools necessary to be the rock star of your field. Our 12-month program teaches you the evolving world of multi-channel marketing as well as the complex issues and opportunities found in the industry.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month! Download and Activate to enter!
Web development can be a daunting task, even for specialists. There is a lot of information to absorb and a lot of technologies to learn in order to manage a superior website. When trying to learn the ropes, developers need a reliable source to introduce new ideas that can be easily implemented. When working on large projects, even web veterans may run into a technology or an aspect of a technology that they are unfamiliar with.
Posts: 83
Time spent in forums: 12 h 35 m
Reputation Power: 7
Php mysql and flash "oh my"
Okay here is the scoop. I would like to create a low level CMS using flash on the font end as a UI, and mysql as a database and php to connect the two. I have never done anything like this and I need a tutorial or some really good references that would explain the nuts and bolts really well from the ground up. I am pretty profecient with flash and I understand actionscript pretty well but writing it is pretty difficult for me. Basically if I see the code I understand how it works (for the most part) but to come up with the syntax is more of a problem. I've just started to look at php so I'm total noobie. I know what mysql is but I don't have any experience with accessing and I really don't understand how the database structure works. The other issue is that I'm not totally sure how dynamic websites are created with php. I understand the concept but it seems that there are a ton of code snipits placed in various directories that are pulled together to make the website happen, but its hard for me to parse out how it actually works without seeing a roadmap of sorts with some directions.
Any ideas on all this? I know its a lot but I'm wiling to learn and read a ton just need a good start.
Posts: 176
Time spent in forums: 1 Day 13 h 38 m 11 sec
Reputation Power: 9
isus, what you ask isn't a small task it's a whole project;
i work on a CMS, but sorry i can't give you the code.
the idea is that you have flash for the part to interact with th user and php do the server side job.
to send and get variables from php use sendandload in flash it's not hard then everything is easy. for me i haven't use mysql i use xml it's better so flash <==> php <==> XML
if you have any precise question
i'm here
__________________
THE MATRIX HAS YOU
-------------------------------
end transmission
-------------------------------
Posts: 5,309
Time spent in forums: 2 Months 2 Weeks 4 Days 7 h 25 m 36 sec
Reputation Power: 2348
You should use a proper MySQL database. That means you don't have to worry about things like concurrent users, caching, etc because the DBMS deals with it automatically. It's also much easier and faster to search/sort/update your data.
When you use PHP to access the database, you can return your data to Flash as XML.
"All matter is merely energy condensed to a slow vibration. We are all one consciousness experiencing itself - subjectively. There is no such thing as death, life is only a dream. We are the imaginations of ourselves."
- Bill Hicks
"Truth is hidden in the subtle nature of the heart of everything, although it is invisible. One cannot see it from inside and neither from the surface. One can only live and experience it."
- Heart Sutra
Posts: 83
Time spent in forums: 12 h 35 m
Reputation Power: 7
Quote:
Originally Posted by b3n
You should use a proper MySQL database. That means you don't have to worry about things like concurrent users, caching, etc because the DBMS deals with it automatically. It's also much easier and faster to search/sort/update your data.
When you use PHP to access the database, you can return your data to Flash as XML.
Doesn't this add another layer of complexity? Won't I need to convert my output and input so I will have flash-->xml-->php-->mysql and back.
Posts: 83
Time spent in forums: 12 h 35 m
Reputation Power: 7
This is really helpful. It seems I'm going to be working on this project in my off time now. I've just been thrown some higher priority items at work, but I will be playing with flash and php at home. Thank you.
Posts: 5,309
Time spent in forums: 2 Months 2 Weeks 4 Days 7 h 25 m 36 sec
Reputation Power: 2348
It's also possible to use an XML object instead of a LoadVars object. You can point it at an xml file or to a php script that prints out xml. I think that's faster.
Last edited by b3n : January 8th, 2007 at 02:40 PM.
Location: In the jungle with bicycle powered computers...
Posts: 213
Time spent in forums: 17 h 39 m 10 sec
Reputation Power: 8
This sorta thing is hard for someone who dosent know how certain aspects work, i would suggest making a php + mysql guest book as a way to learn how they both work, once you get that over with, you will be off to a great start.