上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 40 下一页
摘要: It is possible to turn on XML Schema validation during parsing with a SAXParser. Here is how it looks:Schema schema = null;try { String language = XM... 阅读全文
posted @ 2014-10-10 22:15 wuhn 阅读(288) 评论(0) 推荐(0) 编辑
摘要: This package provides the core SAX APIs. Some SAX1 APIs are deprecated to encourage integration(集成;综合) of namespace-awareness into designs of new appl... 阅读全文
posted @ 2014-10-10 20:51 wuhn 阅读(291) 评论(0) 推荐(0) 编辑
摘要: MongoDB is very powerful, but it is still easy to get started with. In this chapter we’llintroduce some of the basic concepts of MongoDB:• A document ... 阅读全文
posted @ 2014-10-10 03:05 wuhn 阅读(455) 评论(0) 推荐(0) 编辑
摘要: OverviewUse this tutorial to install MongoDB on a Windows systems.PLATFORM SUPPORTStarting in version 2.2, MongoDB does not support Windows XP. Please... 阅读全文
posted @ 2014-10-10 02:32 wuhn 阅读(430) 评论(0) 推荐(0) 编辑
摘要: MongoDB is a powerful, flexible, and scalable data store. It combines the ability toscale out with many of the most useful features of relational data... 阅读全文
posted @ 2014-10-10 00:23 wuhn 阅读(234) 评论(0) 推荐(0) 编辑
摘要: JavaScriptis aclass-free, object-oriented language, and as such, it uses prototypal inheritance instead of classical inheritance. This can be puzzling... 阅读全文
posted @ 2014-10-06 04:11 wuhn 阅读(195) 评论(0) 推荐(0) 编辑
摘要: JavaScript is all about objects. Objects are the foundation of everything, so if you’reunfamiliar with objects, you’re going to learn quickly. The goa... 阅读全文
posted @ 2014-10-06 03:54 wuhn 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 在一个Web App中,所有数据,包括用户信息、发布的日志、评论等,都存储在数据库中。在awesome-python-app中,我们选择MySQL作为数据库。Web App里面有很多地方都要访问数据库。访问数据库需要创建数据库连接、游标对象,然后执行SQL语句,最后处理异常,清理资源。这些访问数据库... 阅读全文
posted @ 2014-10-05 23:18 wuhn 阅读(860) 评论(0) 推荐(0) 编辑
摘要: 在python用import或者from...import来导入相应的模块。模块其实就是一些函数和类的集合文件,它能实现一些相应的功能,当我们需要使用这些功能的时候,直接把相应的模块导入到我们的程序中,我们就可以使用了。这类似于C语言中的include头文件,Python中我们用import导入我们... 阅读全文
posted @ 2014-10-05 22:40 wuhn 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 搭建开发环境首先,确认系统安装的Python版本是2.7.x:$ python --versionPython 2.7.5然后,安装开发Web App需要的第三方库:前端模板引擎jinja2:$ easy_install jinja2MySQL 5.x数据库,从官方网站下载并安装,安装完毕后,请务必... 阅读全文
posted @ 2014-10-05 18:00 wuhn 阅读(351) 评论(0) 推荐(0) 编辑
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 40 下一页