dqkf36241 2012-06-29 21:44
浏览 23
已采纳

在PHP中创建和搜索用户帖子

This is my first entry into backend development, taking mostly a design role in past projects. Im working on a personal project and have fleshed out what I feel is a logic of sorts. Just a few very basic user tasks broken down.

Core User Actions:

  • A user can create a new posting

    A user can find posts from other users by tag, date created, and other content. This is done in kinda a central search area. (Search string: "Dog Saddle", retrieves posts with mentions of dog saddels, dogs, and saddels)

    A post's creator can be contacted from the post.

    A user can delete their created posts.

I need guidance/suggestions with the following:

What data should I capture for users? What framework is best for the application dynamics I've described? (ROR, Python, PHP ect. I'm a one man team currently)

Are there open source projects I may gain reference from?

I'm very dedicated to learning on my own, and can make use of good advice!

Thanks,

  • 写回答

1条回答 默认 最新

  • dousiyou1058 2012-06-29 22:06
    关注

    Given the rather generic requirements you've outlined and that you are just entering into the development arena, you should try an established framework. That way you won't need to write everything from scratch. You'll still have plenty of control, but the benefits of many commonly used functions, classes etc that will speed up your development.

    Give something like CodeIgniter for PHP a try. See http://codeigniter.com/. There are a lot of tutorials online to help you get started. For example, see http://net.tutsplus.com/sessions/codeigniter-from-scratch/.

    What you've described doesn't suggest a particular language at all. ROR, Python, PHP--you could use any of those to create what you've described. PHP is considered by many to have a less steep learning curve than ROR and Python, which is why I recommended it. However, there are frameworks for these other languages as well that will give you the same benefits as code igniter.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
  • ¥50 STM32单片机传感器读取错误
  • ¥15 (关键词-阻抗匹配,HFSS,RFID标签天线)
  • ¥15 机器人轨迹规划相关问题
  • ¥15 word样式右侧翻页键消失