Programmers can also romantic----to dedicate a share of your worth of romantic website source (Valentine's Day coming ~)

Source: Internet
Author: User

Good news First, I will be engaged February 12, 2015 ~ ~ finally out of the programmer's bachelor career ~ ~ Have to say that this site has given me a lot of help! Therefore, I would like this source code is also the vast number of friends in the garden, I hope in your love on the road, can play a little bit of energy, I am sufficient ~

First of all, I wish you a happy Valentine's Day ~ ~ We programmers are also very romantic ~ haha.

First, affirm

Affirm that a lot of the content of this site is not my original, plagiarism a lot of online predecessors of the source code, but I wood useful in commercial applications above, should be OK, please understand! ~

The second, the following to the software address, no promotion of meaning, just in peacetime use, feel well, so it is recommended.

Second, take a peek at the website

Www.xiaoxiaodong.net (Help me brush the comments, the days before the birthday of the comments have been deleted%>_<%)

This site is I began to toss from December (online to find materials, etc.), and then to the January 29, 2015 to my girlfriend to see, see the cry of a mess. touched haha. By the way, we're getting engaged this month, and I'm not going to refuse your blessing. Ha ha..

Three, the outline of the implementation of Technology 1, first look at the structure of my small website

You see, very simple ~ ~ Inside can say there is no difficulty to speak of.

I use HTML and JS real ~ 2 aspx file is to help friends build invitations use! ~

2. About the database

Speaking of data, a few days ago, help friends to get a self-generated invitations Web page, the friends commented that the blessing words have been deleted. Intestines are regret green, today to million network customers call, see if can recover, but money, so put down the ~~%>_<%

I do not use SQL or Oracle, it feels so wasteful, killing chickens with sledgehammer ha. So, I'm using an XML file . Three fields, content, name, and date ... Just so easy! ~~

<?XML version= "1.0" encoding= "Utf-8"?><Comments> <Comment>    <content>Thank you for coming together, hope we all good! ~ I will work hard, love you ~ Dear! ~</content>    <name>East</name>    <Date>2015-1-19 16:53:57</Date>  </Comment>  <Comment>    <content>Baby East Son, feel your happiness!!! That's nice!!! Thanksgiving has you, the number of each is touched by your moment. Baby East son bless you and Da dong happy long!!! I love you!!!</content>    <name>Chun Ying</name>    <Date>2015-1-19 16:53:57</Date>  </Comment>  <Comment>    <content>Very lucky this life can and Toho acquaintance, 2014 the most happy is the size of the east together, to be happy full Oh! Eternal East love, water containing incense, aromatic memories</content>    <name>Aromatic memory</name>    <Date>2015-1-19 19:22:19</Date>  </Comment>  <Comment>    <content>The original happiness is so sweet, I burst into tears. Countless words, I just want to say to you: I wish you happiness!</content>    <name>Chengo</name>    <Date>2015-1-20 22:01:07</Date>  </Comment><Comment>    <content>In a paragraph, see him for you to do the video, tell you a secret, actually ah, this is very simple, look at the interface is too little texture. However, this is really very hard to do, if my boyfriend also sit such a give me, I must be very happy ah wish you happiness. Lesbian</content>    <name>Sister Wang</name>    <Date>2015-1-22 21:01:50</Date>  </Comment><Comment>    <content>The screen is too sensational, I am embarrassed to see ~ as others, I really was the East just this gift moved to, really envy others ah ~, first sent a sentence: small East, Happy birthday, your cake I eat ~ haha ~</content>    <name>Li Jia Yi</name>    <Date>2015-1-27 22:36:19</Date>  </Comment>  <Comment>    <content>Valentine's Day is coming, I come to occupy the 14 floor, haha!</content>    <name>Xiao</name>    <Date>2015-2-6 22:37:09</Date>  </Comment>  <Comment>    <content>Toho, get engaged in a few days! Happy engagement! Want you to be happy happy happy happiness!</content>    <name>Xiao</name>    <Date>2015-2-6 22:38:49</Date>  </Comment></Comments>

3, about logic processing, the previous paragraph through JavaScript control ~
//-----------LoadData begin-----------------Function LoadData () {var urlparams = "? Action=all";        url = urlbase + urldatamanagerfilename + urlparams;        Clear the table Datas $ ("#divComent"). empty ();        Count = 0;                $.post (URL, function (data) {if (Data! = "Error") {var allcomments = eval (data); for (var i = 0; I<Allcomments.length; i++)                    {count++; var html= "<div id= ' divcomment ' style= ' float:left; Width:100%;background:url (images/commentheart.png) no-repeat left ' ><div style= ' width:50px;height:50px; Padding-top:20px;display:block;text-align:center; Float:left ' ><span id= ' scount ' style= ' color:yellow ' > '+ count + "building </span></Div><DivID= ' Divdatename 'style= ' '><spanID= ' Sdate '>"+ Allcomments[i].date +"</span>&nbsp;&nbsp;&nbsp;&nbsp;Happy Guest Speaker:<spanID= ' SName '>"+ Allcomments[i].commentname +"</span></Div><DivID= ' divcontent '><spanID= ' scontent '>"+ Allcomments[i].commentcontent +"</span></Div></Div><HRstyle= ' border:1px dotted #036; clear:both; ' />";                $ ("#divComent"). prepend (HTML); }            }        });

Backstage is a general handler ashx,

is not very simple ~

4. About Video

I called my girlfriend's girlfriends to shoot the video (my requirements are unlimited equipment, unlimited venues, the more casual the better), and then use the format Factory (Formatfactory_) to convert to FLV format ~ In the use of QQ voice stitching ...

It should be said that this is a more laborious event, especially need a friend to find, and span one months of time, there is no leak secret, the difficulty is a bit big ha ~ Haha, good very exciting.

Because now recorded video is very large, motionless hundreds of MB, so that server space is unbearable, so I have to convert it to FLV format, so it is very small ~ a 100Mb can be changed to a few megabytes, of course, the quality of the image will certainly be affected ~ I set it up, looks good ~

: Http://rj.baidu.com/soft/detail/13052.html?ald

5, about subtitles

I use Time_machine to make subtitles. Green pollution-free. Easy to get started, will not, the degree Niang a bit OK.

: http://www.orsoon.com/Soft/10918.html

6, about the heart shape

I use the online version of the beauty 美图秀秀 splicing, and then in the background color graffiti black! There is a heart shape in the jigsaw puzzle.

Mei 美图秀秀 Address: http://xiuxiu.web.meitu.com/puzzle/

7. About the website

I bought the domain name from million net (29) + SPACE (88/year). Very cheap, so if you have the need, you can free (of course, space and domain name you go to buy) to help you to build ~ very happy to service! ~

Previously, have considered some free space and domain name! ~ later unbearable, one is advertising, two is not strong stability, three is not sold. .. Now I've spent a little over 100. Everything, what's the problem, call over there. Wow.. Cool. So, strongly recommend ha!. However, this is based on your reality, huh?

Million Network address: www.net.cn

Because tomorrow comes home, therefore, needs the source friend, please leave the mailbox! ~ ~ I will be in a few days to delete some of the source of photos, and then to you ~ ~

Blessing!.

Programmers can also romantic----to dedicate a share of your worth of romantic website source (Valentine's Day coming ~)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.