保存页面大数据 [英] saving large data of page

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

问题描述

大家好,
我正在开发一个度假租赁网站,您可以在这里预订公寓/别墅,也可以注册自己的公寓.
公寓的描述如下
-------------------------------------------------- -----------------
说明
假日别墅Denia,丹尼亚4层非常现代美丽的度假住宿
位于西班牙科斯塔布兰卡德尼亚的现代舒适度假别墅,可容纳6至8人(最多可容纳4位成人和4位儿童).
这是一栋非常现代和豪华的联排别墅,以独特的方式建造,并拥有大量玻璃,舒适和光线充足的现代建筑.别墅共有四层,包括一个带家具的可爱屋顶露台,带按摩浴缸,并享有大海,德尼亚港,蒙哥山和德尼亚城堡的壮丽景色.

公寓大楼设有带儿童游泳池的大型游泳池和带泛光灯的公共网球场.带有小花园,用餐区和烧烤设施的私人露台.前露台可直接使用社区设施.该综合大楼还设有可直接通往别墅的私人车库.

在丹尼亚(Denia)市中心,您可以找到许多餐馆,而超市则在3-4分钟内到达.拉斯罗塔斯(Las Rotas)的Marineta Cassianabeach也很近,距离酒店仅4分钟路程.
住宿
主层:
休息室
宽敞明亮的起居区,配有餐桌
卫星电视,DVD,MP3站
空调(额外费用)
根据要求提供互联网连接
进入带烧烤设施的私人露台

厨房
微波
洗碗机

卧室/浴室
带两张单人床(一张拉床)的卧室,连接浴室,空调(额外费用)
带卫生间的淋浴房(带卫浴设施)
洗手间

一楼:
带双人床和空调的卧室(额外费用)
卧室,两张单人床(一张拉床),交流电(额外费用)
带卫生间的浴室

地下室:
一辆车的车库
双人卧室
带卫生间的淋浴房
带洗衣机和干衣机的洗衣房

屋顶露台:
按摩浴池,沙发,日光浴床和美丽的海景和山景

户外
公用游泳池,被草坪包围的独立儿童游泳池和室外淋浴
带泛光灯的公共网球场
入口前设有带小早餐桌的露台
附近景点

蒙哥山自然公园在1987年被宣布为自然公园,这里有许多明显的步行路线.早春时节,果园里到处都是杏仁和樱花,这使它在探索这座山时格外美丽.在冒险活动中,有许多历史悠久的小村庄和隐藏的山谷被发现,这真是美妙的一天.

Marineta Cassiana海滩是一个非常宽敞的海滩,毗邻Las Rotas南侧的Denia港口.周围环境宜人,其中包括许多拥有令人惊叹的植被的小木屋,棕榈树和松树,使其非常美丽.
有许多海滩酒吧,水上运动场所,并且由于浅水区的缘故,是潜水新手的好地方.
丹尼亚城堡(Denia Castle)位于建于11和12世纪的岩石峭壁上,提供呼吸美景和拍摄壮丽照片的绝好机会,在城堡本身内还有一家博物馆,提供了更深入的丹尼亚起源历史. > 丹尼亚(Denia)的渔港不但拥有美丽的长沙滩,海滨咖啡馆,酒吧和餐馆,还拥有众多美食,而且镇上还有许多精品店以及更优质的餐厅.晚上,您可以沿着海滨漫步,然后从拉隆加鱼市场购买新鲜捕获的鱼.
Denia Marina是新建的,设有酒吧,漂亮的游艇和摩托艇,非常值得一游.您可以在其中一个酒吧里坐上几个小时,欣赏这些宏伟的地中海上航行的船只.
-------------------------------------------------- -------------------------------------------------- -----------------------
我无法决定如何捕获和保存这些详细信息.
-我应该允许用户在单独的文本字段中输入这些数据,并在单独的字段或
中保存在数据库中吗 -允许用户输入自由文本并另存为xml(如果我允许自由文本,我将无法控制用户输入)或
-有什么我可以中继的吗?
有人可以帮我吗?

Hello everyone,
I am developing a holiday rental website where you can book appartment/villas as well as Register your own appartment.
The description of appartments are as below
-------------------------------------------------------------------
Description
Holiday Villas Denia, 4 Storey Very Modern Beautiful Holiday Accommodation in Denia
Modern comfortable holiday villa in Denia, Costa Blanca, Spain for 6-8 people (maximum 4 adults and 4 children).
This is a very modern and luxury town house built uniquely and modern architecture with lots of glass with plenty of comfort and light. The villa consists of four floors, including a lovely furnished roof terrace with a Jacuzzi and magnificent views of the sea, Port of Denia, Montgo Mountain and Denia castle.

The complex offers a large swimming pool with a children''s pool and a communal tennis court with floodlights. A private terrace with small garden, dining area and barbecue. The front terrace offers direct access to community facilities. The complex also has a private garage with direct access to the villa.

In Denia town centre where you can find many restaurants, supermarkets can be reached in 3-4 minutes. Marineta Cassianabeach in Las Rotas is also close by and only 4 minutes away.
Accommodation
MAIN FLOOR:
Lounge
large bright living area with dining table
Satellite TV, DVD, MP3 Station
Air conditioning (additional cost)
Internet connection on request
Access to private terrace with barbecue

Kitchen
Microwave
Dishwasher

Bedroom/Bathrooms
Bedroom with two single beds (one pull out bed), En suite, AC (additional cost)
Shower room with toilet (En suite)
Guest toilet

FIRST FLOOR:
Bedroom with double bed and AC (additional cost)
Bedroom with two single beds (one pull out bed), AC (additional cost)
Bathroom with toilet

BASEMENT:
Garage for one car
Double bedroom
Shower room with toilet
Laundry room with washing machine and tumble dryer

ROOF TERRACE:
Jacuzzi, Sofa, sun bed and beautiful sea and mountain views

Outdoors
Communal pool, separate children''s pool surrounded by lawn, and outdoor showers
Communal tennis court with floodlights
Terrace with small breakfast table in front of the entrance
Nearby Attractions

Mount Montgó Natural Park was declared a Natural Park in 1987, there are a number of marked out walking routes. In early spring the orchards are full of almonds and cherry blossom, making it especially beautiful when exploring the mountain. On the adventure there are many small historic villages and hidden valleys to be found, making it a fabulous day out.

Marineta Cassiana beach is a very spacious beach situated next to the Port of Denia on the southern side Las Rotas. The surroundings are pleasant including lots of chalets with stunning vegetation, palm trees and pines, making it very beautiful.
There are many beach bars, water sports available and great area for people new to diving due to the shallow waters.
Denia Castle is upon a rock crag built in the 11th and 12th century offers breathe taking views and perfect opportunities to take magnificent pictures, also within the castle itself is a museum offering a more in-depth history in the origin of Denia.
The fishing port of Denia has everything to offer not only does it have a long beautiful sandy beach, sea front cafes, bars and restaurants, but it has many boutiques that can be found in the town along with even more excellent restaurants. In the evenings you can walk along the sea front and actually purchase the days freshly caught fish from La Lonja Fish Market.
Denia Marina is newly built with bars, beautiful yachts, and power boats and well worth a visit. You can sit in one of the bars for hours just admiring these magnificent boats sailing around on the Mediterranean.
---------------------------------------------------------------------------------------------------------------------------
I am not able to decide how to capture and save these details .
-Should i allow user to enter these data in seperate text field and save in database in seperate field or
- Allow user to enter free text and save as an xml(i will be not able to control user input if i allow free text) or
- is there anything i can relay on
Can anyone help me please

推荐答案

我有几个字段:鼓励您的承租人提交所有相关信息:
布局:
主层
一楼
其他楼层

然后详细说明各个重要方面:卧室/床位数,设施等.
您给他们输入有用信息的机会越多,您就可以更好地通知您的房客.

存储取决于您,但是我可能会使用数据库而不是XML-减少文件/文件名的麻烦,更易于搜索等.

您提供的灵活性越多,您可以提供的信息越好,人们通过您租借的可能性就越大.
I would have several fields: to encourage your rentees to submit all the relevant info:
Layout:
Main floor
First floor
Other floor(s)

And then details on the various important bits: number of bedrooms / beds, facilities, etc.
The more chance you give them to enter useful info, the better you can inform your renters.

Storage is up to you, but I would probably use a database rather than XML - less hassle with file/file names, easier to search, etc.

The more flexibility you give, the better the information you can present, and the more likely that people will rent through you.


这篇关于保存页面大数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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