将 PHP MySql 与 Flex 捆绑在一起提供给客户端

发布于 2024-07-29 18:52:08 字数 400 浏览 2 评论 0原文

I made an application using Flex,php,mysql. Now to give it
to a client, I am bundling this flex application with
xampp. There are few problems with this approach : 

1. Whenever the flex application runs, an xampp window
also opens up.
2. The Apache port number, which I am giving to the client
is fixed. Same for mysql port number.

What could be a better alternative to overcome these?
I made an application using Flex,php,mysql. Now to give it
to a client, I am bundling this flex application with
xampp. There are few problems with this approach : 

1. Whenever the flex application runs, an xampp window
also opens up.
2. The Apache port number, which I am giving to the client
is fixed. Same for mysql port number.

What could be a better alternative to overcome these?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

眼眸里的那抹悲凉 2024-08-05 18:52:08

听起来您正在尝试制作一个类似桌面的应用程序,对吧? 如果是这样,那么您的方法是错误的。 AIR 允许您访问本地 sqlite 数据库,因此您根本不需要编写服务器端代码。 现在,既然你已经完成了,听到这样的事情有点蹩脚,但是如果你按照当前的方向前进,总会有一些怪癖。

It sounds like you are trying to make a desktop-like app right? If so, your approach was the wrong one. AIR lets you access a local sqlite database, so you don't need to write serverside code at all. Now, that's kind of a lame thing to hear now that you're already done, but if you'll always have some quirks if you go your current direction.

蓝颜夕 2024-08-05 18:52:08

如果您正在构建一个 Web 应用程序(例如,如果您的应用程序必须可供许多人从世界上任何可以访问 Internet 的计算机访问),则应将其部署在 Web 上- 服务器在某处,而不是在客户端的台式机上。

作为旁注:在这种情况下,您可能必须处理某种身份验证机制,以确保只有“正确的人”才能访问它。

那里有很多托管公司; 根据您的具体需求,其中许多可能适合您:PHP+MySQL 现在很常见; 请注意,他们通常在 Linux 上运行 PHP,而不是 Windows,这可能意味着一些细微的差异(例如文件名中的区分大小写),这

可能取决于您的客户所在的公司类型他们已经有一些托管的可能性?

在这种情况下,他们应该将应用程序部署在其中一台网络服务器上,这样公司中的任何人都可以访问该应用程序(取决于他们的配置,但这就是网络服务器存在的原因)

如果这没有帮助,您能详细说明一下您的需求吗?

谢谢 :-)


如果您正在构建某种桌面应用程序,该应用程序只需要安装在一台计算机上并由一个人使用,仅此而已...好吧,PHP 不是最好的工具^^

If you are building a web application (for instance, if you application has to be accessible by many people, from any computer in the world that has access to the Internet), it should be deployed on a web-server somewhere, and not on your client's desktop machine.

As a sidenote : in that cas, you'll probably have to deal with some kind of authentication mecanism, to make sure only the "right people" have access to it.

There are loads of hosting companies out there ; depending on your exact needs, many of those would probably be OK for you : PHP+MySQL is quite common nowadays ; just note they generally run PHP on Linux, and not Windows, which might imply some little differences (like case-sensitivity in files names, for instance)

Depending on the type of company your client works in, maybe they already have some hosting possibilities ?

In that case, they should deploy the application on one of their webservers, which would make it accessible to anyone on the company (depending on their configuration, but that's why webservers exist, after all)

If that didn't help, could you elaborate a bit more on your needs ?

Thanks :-)


If you are building some kind of desktop application, that needs to be installed on only one computer and used by one personn and no more... Well, PHP is not the best tool for that ^^

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文