Using meteor.js with php server side

前端 未结 4 1719
终归单人心
终归单人心 2020-12-18 03:12

I\'ve developed an application that I would like to use meteor.js for real time updates (I want to enhance but not change my program, for example when a user adds a comments

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-18 03:57

    I released a meteorite package that interacts with a Wordpress site that has the Wordpress JSON API. A quick fix. For now.

    Comes with a backend call that will return the raw data, or a publication that stores the posts using their id's instead of a randomly generated mongoid. And some basic templates to get you started including a Session variable that keeps track of the currently selected post.

    I'm working on it a lot more and will eventually have a version that directly makes mysql calls from node so you won't need php or Wordpress; just the ability to access the mysql database (which can be remote, with the appropriate configuration, or on the same machine).

提交回复
热议问题