-
AngularJs编写的小测试应用程序
翻译 maninwest@Codeforge 作者:Anurag Gandhi @CodeProject
Quiz (测试)在调查、模拟测试、准备、自我测验、收集信息等方面具有广泛应用。此测试应用会让你通过简单的代码更改获取需要的功能。
你会了解如何使用 angular js通过几行代码创建自己的测试应用。该测试应用接受 json 格式的问题。您可以轻松从服务器端以预定义的格式发送问题, angular js 测试应用会在客户端渲染测试。测试也有审核和现实结果部分。如果你想立即宣布结果,只需调用一个带有答案的 json 并评估答案并立即显示。或者,如果你想提交答案到服务器,则可在 onSubmit 方法 quizCtrl.js 上进行此操作。
背景
你需要有AngularJs, bootstrap 和 css 的基本知识。 在此应用中没有使用JQuery,但是,如果你想使用它或其他javascript 库实现更多功能,你可以这么做。
注意: 直接运行文件系统的index.html 可能无法让该应用进行工作。你需要手动将其托管到web服务器或者通过 visual studio 这样的工具运行。一个简单的方法是:在 Visual Studio 中打开 index.html,右键单击-> 在浏览器中查看。Visual Studio会自动创建一个网站供你运行应用。
使用代码
使用代码非常简单. 只需提供测试应用的 json ,它就会渲染测试。
json 格式如下所示:
// aspnet.js
{
"quiz": {
"Id": 1,
"name": "Asp.Net Quiz",
- 2022-04-28 19:26:14下载
- 积分:1
-
VB2005 论坛发帖顶帖机
论坛顶帖发帖机器源代码.
提供论坛发帖顶帖开发的一种思路,供大家参考....
VB2005 论坛发帖顶帖机
论坛顶帖发帖机器源代码.
提供论坛发帖顶帖开发的一种思路,供大家参考.
- 2022-05-12 18:58:18下载
- 积分:1
-
SendMail
为了帮助站长朋友们推广,现放出XX邮件群发系统(集成QQ号码采集)beat1。使用说明如下:
1、解压后直接使用,需要.net2.0支持,如果没有安装请百度搜索下
2、请先配置好Data文件夹下的Title.txt(邮件标题),Content.txt(邮件内容)
3、请按规则配置好SendEmail.txt的发送邮箱内容,自己需要去多申请一些邮箱
4、打开软件开始使用时,请先导入邮箱,也就是SendEmail.txt文件
5、请先点击采集按钮,采集QQ邮箱放能发送
6、最后点邮件发送
7、为了防止被当成垃圾邮件和提高成功率,发送速度比较慢,多个邮箱轮流每7秒发送一封,请耐心等待
8、数据存在SendMail.mdb中,可手动去删除数据(In order to help the friends of stationmaster of promotion, now released XX bulk mail system ( integrated QQ number acquisition ) beat1. Use the following:
In 1, directly after decompression using, need.Net2.0 support, if not installed please Baidu search
2, please first configured the Data folder under the Title.txt ( headers ), Content.txt ( mail )
3, please follow the rules configured SendEmail.txt send mail content, you need to apply some of the mailbox
4, open the software use, please first into the mailbox, which is the SendEmail.txt file
5, please click the capture button, the QQ mailbox to send collection
In 6, the last point send mail
7, in order to prevent being as spam and increase the success rate, to send the relatively slow speed, multiple mailboxes turns every 7 seconds to send a letter, please wait patiently
In 8, the data in SendMail.mdb, can be to manually delete data)
- 2013-01-14 09:01:29下载
- 积分:1
-
使用Microsoft Visual C++ .Net开发的实例。采用ADO对数据库进行操作。使用Access作为数据源...
使用Microsoft Visual C++ .Net开发的实例。采用ADO对数据库进行操作。使用Access作为数据源-The use of Microsoft Visual C++. Net development examples. Using ADO for database operation. Use Access as a data source
- 2022-03-17 05:39:41下载
- 积分:1
-
剪贴板监视程序,含源代码,使用Visual C#编程,需要.net framework才能运行...
剪贴板监视程序,含源代码,使用Visual C#编程,需要.net framework才能运行-Clipboard monitoring program, including source code, the use of Visual C# Programming needs. Net framework to run
- 2022-01-21 05:26:37下载
- 积分:1
-
金苹果进销存管理系统V1.2
运行环境: ASP.NET + SQL Server 2
金苹果进销存管理系统V1.2
运行环境: ASP.NET + SQL Server 2-Purchase, Sales and Inventory Management System V1.2 Apple operating environment: ASP.NET+ SQL Server 2000
- 2022-04-14 16:21:08下载
- 积分:1
-
ASP-and-C-sharp-Net-Projects-with-source-code
Academic Project - Address Book
Course Finder - Search Colleges and Courses
Library Management System
School Management System
Student Project - Personal Assistant
- 2012-12-19 12:14:14下载
- 积分:1
-
VB利用SPT(最短作業時間)計算flow time
應用於生產排程上計算SPT之程式與Code,隨機產生1~500組亂數(可自訂)後,利用SPT(最短作業時間)來排序出所有作業之flow time,並計算出Total flow time與Avg flow time。
- 2022-02-20 09:21:03下载
- 积分:1
-
PageAdmin 网站 +破解
说明: 没事,小研究了下,破解了PageAdmin,顺便带有脱壳软件在里面.(It's okay. After a little research, we cracked the PageAdmin, and got the shelling software in it.)
- 2021-03-29 13:29:11下载
- 积分:1
-
Seekthegreatestcommondivisorandleastcommonmultiple
求最大公约数和最小公倍数的程序主要是描述如何求最大公约数和最小公倍数。(Seek the greatest common divisor and least common multiple is to describe how the process is essentially seeking the common denominator and least common multiple.)
- 2010-02-11 20:11:35下载
- 积分:1