web人力资源信息系统开发日志④

作者: 何朱必 分类: 开发笔记 发布时间: 2017-07-06 15:33

第四阶段(2017年6月21—7月6日):进入测试冲刺阶段,bug大扫荡,总结分析并准备上线交付使用。软件的生命周期就是不断更新升级,一旦停止更新,软件生命就会衰老枯竭。接下来的工作是调试上线、交付使用,充其量算是拿得出手新鲜出妒的成品,大量的业务结合开发更新升级才是精品制作的新阶段。“行百里者半九十”必须是程序员持之以恒的编程思想和基本素养。

开发小结:经过3个月的项目开发到目前基本上独立完成了一个完整的人事工资系统,全面测试完成就可以上线投入使用,加上开发之前两个月的学习与准备时间,共5个月的PHP MIS信息系统集中开发实战告一个段落,对该项目取得了阶段性成果,对PHP项目开发全貌有了基本的理解,也掌握了一定的开发实战技巧,算是PHP入门吧。接下来要深入了解PHP具体应用到工作、生活中的实用技术,掌握开发思路和开发技巧,吃透和消化Web Apps开发的前端后台理论知识,掌握各种开发模式的小巧门,不断开发出实用App,真正把PHP这一生产力工具当饭碗,能接单做Apps,实现快乐编程人生。

开发决窍:吸收PHPer社区的成功经验,针对性摸索出了微型MIS开发“三步曲”。

1.用自定义函数p($var)调试方法人为断点调试程序,联合whoops插件在入口文件或核心文件中引用,就相当于引入编程中的调试及出错处理容错技术,边设计代码边快速排查bug实现轻松编程。

2.除了loginsys用户登录系统外,在入口文件中加载核心函数库中相应分裂方法自动分裂开前端UI框架H-ui+LayUI或敏捷框架静态页面的每张MIS内页(page)相同部分:页眉、页脚、主菜单,确保框架更新升级或改变视图时,源程序不变,达到了变视图不变控制器,更何况这还不算是真正意义上的控制器和视图,只是借助MVC实现了更简便的控制交互方式。

3.依赖前端框架开发的结构化编程自制MVC架构核心内容(core):

前端……如H-ui 或Layui

“经典模块化”前端UI框架(V)

后台……原生函数+数组+面向对象+Medoo+composer扩展项目性能(M)

加载函数库分裂出前端静态页面,并集中精力编写不同MIS个性化的具体业务逻辑控制方法function.php(C)

特点是用php原生代码分离静态页面组件,把原生MIS开发弄成娃娃玩的拼图游戏,兼顾美工UI设计与业务逻辑Model程序设计。

结束语:程序员不仅依赖开发工具,更应该拥有的是独立思考的一种思维、一种精神、一种观念。用生产力工具不断满足用户需求才是软件开发的终极目标。开发过程中就必须从各个方面来考虑,如业务需求、人机交互 、效率效能等方面,而决非哪种特定的开发模式或纠结算法种种。项目内页较少的微型MIS或App就以返璞归真的原生理念用前端框架函数式或结构化编程轻松搞定,也可以作为模块化移殖或更新升级。

编程基于需求,针对日常工作生活中灵活多样的信息系统开发,实际上用结构化编程更显得容易上手和易于维护,在这里要为返璞归真的前端UI框架原生结构化编程再次呐喊助威,为PHPer社区多元化发展点赞。

经典结构化编程,原生自由化发挥,灵活模块化移植,用简单诠释高效✌

IT公司集体行为下的大型项目开发或标准化开发流程一般遵循“Comporser创建项目->通过Composer安装更新适合的开发框架及第三方类库工具或插件、模板->IDE专业化开发与测试->引入应用商店->发布与更新升级”这样的规范开发模式。整个规范流程走的是国际化标准化Apps常规开发道路,依赖框架和模板,专注业务逻辑来开发,省时省力,压缩底层开发内容,绕开项目辅助性公共部分的编程,集中精力关注业务需求去设计视图,按框架规范要求和方法步骤实现视图效果和一步步开发完成项目即可。但依赖框架开发必须付出深入学习框架的代价,开发过程之中必须严格按框架套路行事,这种呆板的编程会失去太多的自由和灵活性,也少了很多个性化开发的快乐。

如果觉得我的文章对您有用,请随意赞赏。您的支持将鼓励我继续创作!

20条评论
  • Gabrielle

    2019年7月24日 上午10:02

    Way cool! Some extremely valid points! I
    appreciate you writing this write-up and also the rest of the site is also really good.

  • Broderick

    2019年7月24日 上午2:27

    naturally like your website however you need to
    test the spelling on several of your posts. Several
    of them are rife with spelling problems and I in finding it very troublesome to tell the truth then again I’ll
    surely come back again.

  • Muriel

    2019年7月23日 下午9:07

    Hello there, just became aware of your blog through Google, and found that it is
    truly informative. I’m gonna watch out for
    brussels. I’ll appreciate if you continue this in future.
    Numerous people will be benefited from your writing.
    Cheers!

  • Jai

    2019年7月23日 上午2:16

    Thanks for any other informative web site. The place else may
    just I get that kind of information written in such
    an ideal method? I’ve a undertaking that I’m just now working on, and I’ve
    been on the glance out for such info.

  • Lovie

    2019年7月23日 上午1:32

    This is the perfect website for anybody who wants to find out about this topic.
    You realize so much its almost hard to argue with you (not that I actually will need to…HaHa).
    You certainly put a brand new spin on a subject
    which has been written about for a long time. Wonderful stuff, just great!

  • Melba

    2019年7月23日 上午1:02

    I don’t know whether it’s just me or if perhaps everybody else
    encountering issues with your site. It appears like some of
    the text on your posts are running off the screen. Can somebody else
    please comment and let me know if this is happening
    to them too? This might be a issue with my internet browser because I’ve
    had this happen before. Kudos

  • Carroll

    2019年7月22日 下午4:57

    I pay a quick visit day-to-day some sites and information sites to read posts, however this blog
    gives quality based writing.

  • Christiane

    2019年7月20日 下午6:10

    Superb blog! Do you have any recommendations for aspiring writers?
    I’m planning to start my own site soon but I’m a little lost on everything.
    Would you advise starting with a free platform like WordPress or go
    for a paid option? There are so many choices out there that I’m totally confused ..
    Any recommendations? Thank you!

  • Danielle

    2019年7月20日 下午3:52

    Thanks for a marvelous posting! I definitely enjoyed reading it, you happen to be a great author.
    I will make certain to bookmark your blog and
    may come back from now on. I want to encourage you continue your great writing,
    have a nice holiday weekend!

  • Audry

    2019年7月19日 下午5:18

    I’m gone to convey my little brother, that he should also pay a quick visit this weblog on regular basis to get updated from newest news.

  • Karolyn

    2019年7月18日 下午8:45

    I have been exploring for a bit for any
    high quality articles or blog posts in this kind of house .

    Exploring in Yahoo I at last stumbled upon this web
    site. Studying this information So i’m happy to exhibit that I’ve a
    very excellent uncanny feeling I came upon just what I needed.
    I such a lot indubitably will make certain to do not put out of your mind this web site and
    provides it a glance on a relentless basis.

  • Veda

    2019年7月18日 上午6:37

    This post is priceless. Where can I find out more?

  • Dakota

    2019年7月16日 下午6:21

    This post will help the internet users for setting up new weblog
    or even a blog from start to end.

  • Samuel

    2019年7月16日 上午4:29

    I’m not sure where you’re getting your information, but
    good topic. I needs to spend some time learning more or understanding more.
    Thanks for magnificent information I was looking for this info for my
    mission.

  • Jonathan

    2019年7月13日 下午2:33

    Thanks to my father who stated to me on the topic of this blog, this
    blog is really remarkable.

  • Arden

    2019年7月13日 上午2:18

    Nice replies in return of this query with real arguments and describing all about that.

  • Eusebia

    2019年7月12日 下午5:39

    I blog frequently and I seriously appreciate your information.
    This article has truly peaked my interest. I’m going to take a note of your site and keep checking for new details about once a
    week. I subscribed to your Feed as well.

  • Corrine

    2019年7月5日 上午8:25

    Unquestionably believe that which you stated. Your favourite reason appeared to be on the web the simplest factor to have in mind of.

    I say to you, I definitely get annoyed while people consider worries that they plainly do
    not recognize about. You controlled to hit the nail upon the top
    as well as defined out the entire thing without having
    side-effects , people could take a signal. Will likely be again to get more.
    Thank you

  • ig

    2019年6月29日 下午10:28

    Hi there i am kavin, its my first time to
    commenting anyplace, when i read this paragraph i thought i could also make comment due to
    this good article.

  • http://bit.ly/2I5oPcf

    2019年6月28日 下午1:13

    Your way of explaining everything in this article
    is in fact nice, every one be able to without difficulty know it, Thanks a lot.

发表评论

电子邮件地址不会被公开。