简单问题?? [英] Simple question ??

查看:55
本文介绍了简单问题??的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,


我需要建立一个包含文章(长或短)的网络应用程序

我想知道什么是正确的在网上回顾这些文章的方法

页。

或者说,当有这样的信息要显示时,他们来自进口的
文件,数据库?

这种类型的信息存储在何处以及如何存储?

检索此类信息以便在页面中显示的方法是什么?


感谢您的回复


问候

serge

Dear all,

I need to build a web application which will contains articles (long or short)
I was wondering on what is the correct way to retrive those article on web
page.
In orther words, when there is such information to be displayed are they
coming from imported files, database ?

Where and how this type of information is stored ?
What is the way to retrieve such information in order to display it in page ?

Thanks for your reply

regards
serge

推荐答案

你的问题太模糊了,真的无法回答。信息

存储和显示我们取决于您的具体情况而且没有

知道您想要处理的确切内容,很难给出

答案。


你必须问自己什么更有意义。这些文章是否与其他信息有关,如果是,那么可能是数据库。

文章静态内容,然后可能只是将它们存储在

磁盘上。您需要评估内容的任何安全问题。对于

实例,如果它们存储在您的本地磁盘上并且您只希望用户通过您的页面访问它们,那么您可能必须将它们放在外面

您的虚拟文件夹,但是您必须考虑额外的安全性

允许IIS访问它们。文章已经格式化了吗?

用户是否会提交新文章?这些文章来自何处?


我建议您制定应用程序的要求,然后询问有关您的项目或方案的具体问题。还有

实施替代解决方案的尝试和真实方法,看看哪个
可能更好。


基本上,那里不是正确的方式。


" serge calderara" < SE ************ @ discussions.microsoft.com>写在

消息新闻:6E ********************************** @ microsof t.com ...
Your questions are too vague to really be able to answer. Information
storage and display our dependent upon your particular situation and without
knowing the exact content that you want to process, it is hard to give an
answer.

You have to ask yourself what makes more sense. Will the articles be
relating to other pieces of information, if so then maybe a database. Are
the articles static content, then maybe just store them as files on the
disk. You will need to evaluate any security issues with your content. For
instance, if they are stored on your local disk and you only want the user
to access them through your pages, then you might have to place them outside
of your virtual folder, but then you have to consider additional security to
allow IIS to access them. Are the articles already formatted? Will the
user be submitting new articles? Where will the articles come from?

I would suggest that you work out the requirements for your application,
then ask specific questions about your project or scenario. There is also
the tried and true method of implementing alternative solutions to see which
might be better.

Basically, there is no "correct way".

"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:6E**********************************@microsof t.com...
亲爱的,

我需要构建一个包含文章的Web应用程序(长或短)
我想知道在网页页面上回溯这些文章的正确方法是什么。
或者说,当有这样的信息要显示时,它们来自导入的文件,数据库吗? br />
这种类型的信息存储在何处以及如何存储?
检索此类信息以便在
页面中显示它的方法是什么?

谢谢你的回复

问候
serge
Dear all,

I need to build a web application which will contains articles (long or
short)
I was wondering on what is the correct way to retrive those article on web
page.
In orther words, when there is such information to be displayed are they
coming from imported files, database ?

Where and how this type of information is stored ?
What is the way to retrieve such information in order to display it in
page ?

Thanks for your reply

regards
serge



ASP.NET最简单的方法就是使用数据集对象。数据集从XML文件或数据库中提取信息。如果你不熟悉数据库,那么XML是最好的。它是相当紧张的前进。


例子......


---- ---

私有DataSet theDataStore;


私有字符串theRootDirectory =" c:\" ;;


theDataStore = new DataSet();


theDataStore.ReadXmlSchema(theRootDirectory +" Database.xsd");


theDataStore.ReadXml (theRootDirectory +" Database.xml");


-------


这是非常基本的。使用visual studio设计要使用的xsd和xml文件。我在一个站点上使用XML,因为没有可用的数据库服务器。



我认为你会得到正常的SQL解决方案,XML是另一种可能性。


祝你好运


" serge calderara" < SE ************ @ discussions.microsoft.com>在留言新闻中写道:6E ********************************** @ microsof t.com ...
The easiest ways though ASP.NET is to use the dataset object. The dataset draws it''s information either from an XML file or a database. XML is best if you are unfamiliar with databases, it''s rather strait forward.

example...

-------
private DataSet theDataStore;

private string theRootDirectory = "c:\";

theDataStore = new DataSet();

theDataStore.ReadXmlSchema(theRootDirectory + "Database.xsd");

theDataStore.ReadXml(theRootDirectory + "Database.xml");

-------

This is pretty basic. Use visual studio to design a xsd and xml file to work with. I use XML on one site because there is no database servers available.

If your just beginning with ASP.NET programming, then learning what all the dataset can do is one of the most central parts. As you move forward, you might stray away from the dataset because it''s a bit general. But as a beginner, you should go with the best documented and versital solution. Any and All sites that are big should rely on a true database, not XML.

I figured that you''ll get the normal SQL solutions in response, XML is another possibility.

Good luck

"serge calderara" <se************@discussions.microsoft.com> wrote in message news:6E**********************************@microsof t.com...
亲爱的,

我需要构建一个包含文章(长或短)的Web应用程序
我想知道什么是正确的方法来检索这些文章在网页
页面。
或者说,当有这样的信息要显示时,他们是来自导入的文件,数据库吗?

这种类型的地点和方式信息是否存储?
检索此类信息以便在页面中显示的方式是什么?

感谢您的回复

问候
serge
Dear all,

I need to build a web application which will contains articles (long or short)
I was wondering on what is the correct way to retrive those article on web
page.
In orther words, when there is such information to be displayed are they
coming from imported files, database ?

Where and how this type of information is stored ?
What is the way to retrieve such information in order to display it in page ?

Thanks for your reply

regards
serge



>我需要构建一个包含文章的web应用程序(long或
> I need to build a web application which will contains articles (long or
简短)
我想知道在web页面上检索这些文章的正确方法是什么。<或者更确切地说,当有这样的信息要显示时,它们来自导入的文件,数据库?


到目前为止,我们可以收集您的要求包括:


网络应用程序。

它有一些东西与文章有关(未定义)。

这些文章存储在某处(你不知道在哪里)

它们显示在一个网页上。

" Articles"表示某种文件。可以是纯文本,扫描

TIFF格式的报纸文章,HTML,XML,PDF,RTF,Word文档,

Excel文档,谁知道?好吧,如果你正在编写应用程序,我将不得不

说你应该这样做。


它们存放在哪里?我不知道。它们应该来自哪里?

谁创造或创造了它们?唯一要求是在网页上显示它们是否是b $ b,还是有其他要求?这是一个

互联网还是内联网?他们中有多少人?他们会在线编辑吗?
?首先是谁的想法?也许他/她会知道的。


-

HTH,


Kevin Spencer

Microsoft MVP

..Net开发人员

歧义具有一定的品质。


" serge calderara" < SE ************ @ discussions.microsoft.com>写在

消息新闻:6E ********************************** @ microsof t.com ...亲爱的,

我需要建立一个包含文章的网络应用程序(长或短)
我想知道什么是正确的方法在网页上回顾那些文章。
或者说,当有这样的信息要显示时,他们是否来自导入的文件,数据库?

以及如何存储此类信息?
检索此类信息以便在
页面中显示它的方法是什么?

感谢您的回复

问候
serge
short)
I was wondering on what is the correct way to retrive those article on web
page.
In orther words, when there is such information to be displayed are they
coming from imported files, database ?
So far, we can glean that your requirements include:

A web application.
It has something to do with "articles" (undefined).
These "articles" are stored somewhere (you don''t know where)
They are displayed in a web page.
"Articles" indicates some kind of document. Could be pure text, scanned
newspaper articles in TIFF format, HTML, XML, PDF, RTF, Word documents,
Excel documents, who knows? Well, if you''re writing the app, I would have to
say you ought to.

Where are they stored? I don''t know. Where are they supposed to come from?
Who is creating or has created them? Is the only requirement that they be
displayed in a web page, or are there other requirements? Is this an
Internet or an Intranet? How many of them are there? Will they be edited
online? Whose idea was this in the first place? Perhaps he/she would know.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:6E**********************************@microsof t.com... Dear all,

I need to build a web application which will contains articles (long or
short)
I was wondering on what is the correct way to retrive those article on web
page.
In orther words, when there is such information to be displayed are they
coming from imported files, database ?

Where and how this type of information is stored ?
What is the way to retrieve such information in order to display it in
page ?

Thanks for your reply

regards
serge



这篇关于简单问题??的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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