Flex Mobile PHP 远程服务器

发布于 2025-01-07 01:04:32 字数 107 浏览 7 评论 0原文

我对 Flex 移动开发完全陌生。 在FlashBuilder for PHP中,您需要指定本地PHP服务器。 我的答案是,如何改为远程服务器? 因为,我有一个托管,我需要将文件放在那里,以将其公开。

I am totally new to Flex mobile developing.
In FlashBuilder for PHP, you need to specify local PHP server.
My answer is, how to change it to remote server?
Because, i have a hosting, and I need to put files there, to make it public.

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

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

发布评论

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

评论(1

贪了杯 2025-01-14 01:04:32

你永远不需要本地服务器。您是否尝试过查看 Flash Builder 为您创建的文件(如果我没记错的话,在本例中它创建了一个 service-config.xml 文件)?应该有一个提及 ServiceObjects 和 localhost 端点。您可以将其更改为您的远程位置。

我个人不喜欢使用 xml 方法来创建服务,因为它无法在代码中提供我想要的灵活性。我更喜欢在代码中使用 ServiceObject 类并指定端点和目的地,并使用委托模式来调用我的服务。一些东西供你研究:)

You never need a local server per say. Have you tried to look at the files that Flash Builder creates for you (if I remember correctly, in this case it creates a service-config.xml file)? There should be one that mentions ServiceObjects and an endpoint of localhost. You can change this to your remote location.

I personally don't like the xml approach to creating services since it doesn't give me the flexibility I want in the code. I much prefer having it in the code using the ServiceObject class and specifying the endpoint and destination there and using a delegate pattern to call my services. Something for you to look into :)

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