dongsi1954 2013-07-17 18:23
浏览 31
已采纳

我可以使用Codeigniter进行登录,使用PHP进行其他功能吗?

My client has a website which is built on php (without any framework). The website is prone to attacks but almost 75% of the work is done. Keeping scalability in mind we want to migrate to codeigniter completely but the client wants an MVP to be released in 30 days. Can I use partial codeigniter and continue with the existing PHP code. Thank You.

  • 写回答

1条回答 默认 最新

  • dongxun1978 2013-07-17 18:31
    关注

    You have not given a lot of detail, but here goes.....

    Firstly things that might be worth letting the SO community know about are:

    • Some coding examples that exist with in the current project
    • The type of application / web site that is being built
    • What exactly you mean by scalability (10s or 100s or millions of users)?

    Making assumptions here are my thoughts.....

    Time

    If you want to do this task correctly the first time then say NO to 30 days, if its a large application then it may take that long to just test it, let alone (re)write it.

    CodeIgniter

    Have you used CodeIgniter before? I suspect not if you're asking on here about how easy or difficult it might be. It will take you at least one project to get into a framework and start to use it correctly. You should always make a dummy application with a framework before starting any production work in it, even then your first batch of code inside the framework will have issues.

    Scalability

    The scalability issue is probably a null point, if its a new project going live then scalability and performance should not be an issue initially unless you have a) huge marketing budget and are expecting a lot of traffic or b) you are hosting it on shared server and expecting it to perform well.

    Summary

    I would push through with the 75% you have and fix the security issues you mention. Writing the rest of it with the bespoke code and Codeigniter will cause you more issues which you do not know about yet, these will be harder to control, manage and fix. Fix the known security issues, these you can manage, control and fix. Codeigniter may open a whole new can of bugs for you.

    Ignore all of the above and do this

    Be honest with the the client, tell them 30 days is a no no and would be irresponsible of you to launch in such a rush. Explain about the security issues and why starting again with Codeigniter using the knowledge gained so far will produce a far superior application / web site.

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

报告相同问题?

悬赏问题

  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站
  • ¥50 成都蓉城足球俱乐部小程序抢票
  • ¥15 yolov7训练自己的数据集
  • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
  • ¥15 电力市场出清matlab yalmip kkt 双层优化问题
  • ¥30 ros小车路径规划实现不了,如何解决?(操作系统-ubuntu)
  • ¥20 matlab yalmip kkt 双层优化问题
  • ¥15 如何在3D高斯飞溅的渲染的场景中获得一个可控的旋转物体
  • ¥88 实在没有想法,需要个思路
  • ¥15 MATLAB报错输入参数太多