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 metadata提取的PDF元数据,如何转换为一个Excel
  • ¥15 关于arduino编程toCharArray()函数的使用
  • ¥100 vc++混合CEF采用CLR方式编译报错
  • ¥15 coze 的插件输入飞书多维表格 app_token 后一直显示错误,如何解决?
  • ¥15 vite+vue3+plyr播放本地public文件夹下视频无法加载
  • ¥15 c#逐行读取txt文本,但是每一行里面数据之间空格数量不同
  • ¥50 如何openEuler 22.03上安装配置drbd
  • ¥20 ING91680C BLE5.3 芯片怎么实现串口收发数据
  • ¥15 无线连接树莓派,无法执行update,如何解决?(相关搜索:软件下载)
  • ¥15 Windows11, backspace, enter, space键失灵