Flex Mobile PHP 远程服务器
我对 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
更多
发布评论
评论(1)
你永远不需要本地服务器。您是否尝试过查看 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 :)