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 STM32F103上电短路问题
  • ¥15 关于#单片机#的问题:以ATMEGA128或相近型号单片机为控制器设计直流电机调速的闭环控制系统(相关搜索:设计报告|软件设计|流程图)
  • ¥15 打开软件提示错误:failed to get wglChoosePixelFormatARB
  • ¥15 (标签-python|关键词-char)
  • ¥15 python+selenium,在新增时弹出了一个输入框
  • ¥15 苹果验机结果的api接口哪里有??单次调用1毛钱及以下。
  • ¥20 学生成绩管理系统设计
  • ¥15 来一个cc穿盾脚本开发者
  • ¥15 CST2023安装报错
  • ¥15 使用diffusionbert生成文字 结果是PAD和UNK怎么办