http://www.appcoda.com/use-storyboards-to-build-navigation-controller-and-table-view/ Creating Navigation Controller in Storyboards Now let’s get our hands dirty and create our own Storyboards. In this tutorial, we’ll build a simple app that makes us…
openresty 前端开发入门五之Mysql篇 这章主要演示怎么通过lua连接mysql,并根据用户输入的name从mysql获取数据,并返回给用户 操作mysql主要用到了lua-resty-mysql库,代码可以在github上找得到 而且上面也有实例代码 由于官网给出的例子比较基本,代码也比较多,所以我这里主要介绍一些怎么封装一下,简化我们调用的代码 lua/mysql.lua local mysql = require "resty.mysql" local config =…