dongnue4923 2014-10-05 22:38
浏览 47

如何在框架中建立关系和用户?

I do own framework and lean call at this tutorial and several other

http://anantgarg.com/2009/03/13/write-your-own-php-mvc-framework-part-1/

I have two problems in connection with the framework,

1 As the easiest way to do relationships?

2 How to do sessions and login and registrations, whether it was best to SHA512 encryption? Is it enough to do it on functions or in some other way?

current framework repository is located here https://bitbucket.org/zixxus/myframework/overview

  • 写回答

1条回答 默认 最新

  • duanjianxi8439 2014-10-06 01:58
    关注

    Why not refer to some existing frameworks to see how they do things? Why reinvent the wheel when you can use some of the code they do if their license allows it or if they are happy for you to.

    Here is laravel - http://laravel.com/

    Currently laravel uses (AES encryption via the mcrypt PHP extension) http://laravel.com/docs/4.2/security#encryption

    评论

报告相同问题?

悬赏问题

  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 关于大棚监测的pcb板设计
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)