寻找有关将 RETS 集成到 php 网站的示例或帮助
我的任务是将 RETS I 集成到基于 php 的网站。我听说 phrets 是一个很好用的库。该网站位于共享托管平台(godaddy)上。我想我可以构建一个包含一些搜索字段的页面,并让它执行查询并将结果显示在第二页上?我读过的其他地方名字听起来 更像是我仍然需要运行一个本地服务器来复制数据并将其存储在本地。现在我不知道该怎么办。任何建议或帮助将不胜感激。
I'm tasked with integrating RETS I to a php based website. I've heard that phrets is a good library to use. The site is on a shared hosting platform (godaddy). I thought I could build a page with some search fields and have it do a query and display the results on a second page? Other places I've read name it sound
more like I will still need to run a local server that copies the data and stores it locally. Now I'm not sure what to do. Any suggestions or help would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
首先...离开你的共享服务器并找到一个可以获得 root 访问权限的地方。 RETS 需要访问端口 6103,而共享服务器将阻止对其的访问。
其次,PHP是一个非常好的RETS处理工具。 VieleRETS 是用 PHP 构建的,它是由房地产经纪人技术中心构建的一款出色的软件……创建 RETS 标准的人也是这些人。
First of all...get off your shared server and someplace where you can get root access. RETS requires access to port 6103 and a shared server is going to block access to it.
Second, PHP is a perfectly good processing tool for RETS. VieleRETS is built in PHP and it's a great piece of software built by the center for realtor technology...the same people that created the RETS standard.
我查看了 RETS DEVELOPMENT GROUP 的产品,我保证如果您遵循开发人员概述的指南,您将无法理解 RETS 或 IDX,因为该网站上使用的术语在大多数级别上都是错误的。我会坚持使用 vieleRETS 或其他产品。
I looked at the product from RETS DEVELOPEMENT GROUP and I guarantee if you follow the guidelines outlined by the developer you will not understand RETS or IDX because the terminology being used on that site is just wrong on most levels. I'd stick with vieleRETS or another product.
使用 java 的 RETS IQ 是比 PHRETS 更好的实施方法
使用 RETS IQ java 为 RETS 创建良好的数据源架构,然后将其推送到数据库中,为您提供更好的解决方案
RETS IQ using java is better way to Implement rather then PHRETS
Create Good Data feed Arch for RETS using RETS IQ java then Push that one in database better solution for you
实际上,如果满足以下条件,则可以在共享服务器上使用 PHP:
指出这不是常态,对于 Godaddy 来说绝对不是,但是
那里有一些。
只拉变化。
因此,如果您的预算有限(这对于房地产经纪人来说似乎很常见),您可以:
最好是 24 小时,当服务器可能没有负载时,例如
晚上。
关于。
托管服务,而不是将它们下载到您的服务器。
但您正在玩火 - 提取大量记录和图像需要时间,并且可能导致托管帐户被禁用。
注意:我不一定依赖 RETS 服务器的更改列表。我以前曾被它提供无效数据而烧伤过。
Actually it will work using PHP on a shared server if:
pointed out this is not the norm and definitely not with Godaddy, but
there are a few out there.
only pull changes.
So if you have a limited budget (which seems to be common with realtors) you can:
24 hours preferably when the server is likely to not be under load, like
at night.
about.
hosting service, rather than download them to your server.
But you are playing with fire - pulling a lot of records and images takes time and could lead to the hosting account being disabled.
NB: I would not necessarily rely on the change list from the RETS server. I have been burnt before by it giving invalid data.
不要尝试使用 PHP 来处理 RETS,即使您是 PHP 开发高手,您也会惨败,因为 PHP 根本不是用于 RETS 处理的工具。
就是这样说的。 RETS 的事实上的工具是 libRETS,它具有与 Ruby、Python 兼容的 swig 绑定,我相信还有 C# 以及本机 C++ 实现。
最后,技术上可以让 Web 请求触发 RETS 查询,取回结果,然后转换数据以进行演示,但由于负载的原因,相对简单的查询很可能需要花费 15-30 秒的时间。远程 RETS 服务器。因此,通常最好构建或找到软件来复制 MLS 的全部或部分活跃列表。
Don't try to work with RETS using PHP, even if you're a master PHP developer, you will fail miserably because PHP is so not the tool for RETS processing.
That said. The defacto tool for RETS is libRETS and it has compatible swig bindings to Ruby, Python, and I believe C# as well as a native C++ implementation.
Lastly, its technically possible to have a web request fire off a RETS query, get the results back, and then transform the data for presentation, but its very possible for a relatively simple query to take upwards of 15-30 seconds due to load on the remote RETS server. So its usually better to build or find software to replicate all or some of an MLS's active listings.