0

I need to be able to create a page where a user can share links with fellow members. I want to store these URLs in an SQL database so that I can check to see if each link posted is unique or if it has been shared before.

From what I've read, creating and customizing my own elgg SQL database is not the way to go. So, I need a little direction as to how to go about doing this within the current elgg (1.8.13) framework. I would think that I would need to create my own database but maybe someone can fill me in as to where this data would be stored?

4

1 に答える 1

1

あなたがすべき:

  1. Elggのデータモデルを読むhttp://docs.elgg.org/wiki/Engine/DataModel
  2. チュートリアルに従って、このデータモデルを使用してプラグインを作成する方法を理解してください。
  3. よりタイムリーな応答のためにelgg.orgでアカウントにサインアップしてください。http://docs.elgg.org/wiki/Tutorials/Blog
  4. あなたの正気を支持し、この本を購入してください:http: //www.amazon.com/Elgg-Social-Networking-Cash-Costello/dp/1849511306

つまり、Elggはデータ抽象化レイヤーを提供するため、SQLを手動で作成する必要はありません。

P / s:PHPにあまり詳しくない場合は、別の方法を試すことをお勧めします。しかし、それは私の意見です。

于 2013-03-15T15:30:34.383 に答える