如何构建一个没有数据库的简单MVC应用程序? [英] How do I structure a simple MVC application with no database?

查看:93
本文介绍了如何构建一个没有数据库的简单MVC应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是MVC的新手。我需要创建一个非常简单的1页实用程序来显示表单,输入5个数据项(3个数字,2个文本)然后对它们进行操作并显示结果。



在教程,在线书籍等之后,我似乎无法正确地连接输入,处理和输出。你能帮忙吗?

I'm an MVC newbie. I need to create a very simple 1-page utility application to display a form, enter 5 data items (3 numeric, 2 text) then operate on them and display a result.

After tutorials, online books, etc., I can't seem to hook up the inputs and process and outputs properly. Can you help?

推荐答案

和你有一个数据库没什么不同。



毕竟,您认为我们将如何描述一切?在论坛环境中,你甚至可以得到比书本更少的信息!



说真的,如果你遇到基础问题,你真的需要拾取一本实际的书,而不是一些在线教程。
It's no different than if you had a database.

After all that, how do you think we're going to describe everything? In a forum environment you're going to get even LESS information than the books!

Seriously, if you've got problems with the basics, you really need to pickup an actual book, not some online tutorial things.


这篇关于如何构建一个没有数据库的简单MVC应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆