Ios client discovery _ animation house activity Award Presentation and award module development summary, ios Client

Source: Internet
Author: User
Tags iqiyi

Ios client discovery _ animation house activity Award Presentation and award module development summary, ios Client

I recently read the web strategy guide, which begins with an analysis of the DVD rental business model of flicker. It seems that such a business model is still very powerful, and since last year, in addition, flicker has led a boom in its own content. Hunan Satellite TV's future shows, such as where Dad is going, happy base camp, and so on, said Xiao from CCTV World Cup, iQiYi, big thing programs unknown after Liu Chun joins. After the boom, we cut audio and video portals by humans. This entrance is increasing gradually, which is not a good thing for users and for all sides. The audio and video portals have entered the Warring States period, it won't take long for the risks of this model to appear. It is far from the end to retain users only by their own content. Maybe the domestic portal can continue to look at how to proceed with the next step of flicker.

A functional customer service girl sat at the work station of ledi's internship unit. She communicated with the user about the daily work according to the user complaint and reported the bug to the technical team, if the problem can be solved on the technical side, you can return to the user to explain the reasons or remind the user to update the version. Ledi is engaged in the development of activity pages on mobile terminal activity pages. Activities are launched every week to reward VIP users, common users, and users of specific partner operators. No matter whether the customer service finally reports fault feedback results or whether the activities are planned or executed. If you accumulate feedback every day and every day, you still have positive comments on such companies from the bottom of your heart, because they attach importance to users, constantly improve service quality, and improve user experience. This is an exclusive method for self-made content.

The book is now being handed over, And Letti mainly made three pieces this week:

  • Animation house awards page
  • Development of award presentation module


Project Introduction

(1) Development of the animation house Award Presentation page

The animation house Activity project is the first project that ledi has independently completed when he came to the internship unit. From the Activity start, the award statistics, and now the award presentation are all independently developed and tested by ledi. Since the development of the previous page has been completed, after the product provides the winning results, ledi only needs to find the user name and avatar of the winning user based on the data provided by the product for formatting. Ledi wrote two methods to retrieve the target object.


Function userObject (data, userUid) {var userObj = []; for (j = 0; j <userUid. length; j ++) {userObj [j] = searchUid (data, userUid [j]);} return userObj;} // input the uid array, returns the array of corresponding comment objects.
Function searchUid (data, uid) {var comments = data ['data'] ['comments']; var len = comments. length; for (I = 0; I <len; I ++) {if (comments [I] ['userinfo'] ['uid'] = uid) {return comments [I] ['userinfo'] ;}}// gets the comment object under the corresponding uid

First, the award user ID is saved to an array. Then, call the above function to obtain the comment json object through ajax, find the user information object with the same user id and award id in the object, and store it in the target array, call the comment module for demonstration.


This project focuses on deepening ledi's knowledge about caching. And formed a further release and test solution. Because the ios system does not contain cache cleaning. The server also caches the old content, and the new content may not be displayed immediately.

Therefore, to modify the page online, you need to start from four aspects to see if it works.


  • Uninstall the app and reinstall it.
  • Disable app Process
  • Server-side cache cleanup
  • Use the alert function to check whether any real-time modifications are made.


The preceding four methods ensure that the modification takes effect.

In addition, I learned that this activity is intended for ipad, so it is not necessary to adjust the adaptation of other mobile phones before. In future activities, please pay attention to questions and the scope of the activity. According to large, he only adapted to the iphone and ipad. This time, le di recorded the resolution of various mobile phones when adjusting the adaptation, basically, the iphone is in the range of 1024-and is also in the mainstream model. The resolution of the ipad is more than, and the adapter can be referenced normally without further adjustment. From now on, it makes sense to adjust only the iphone and ipad.


(2) Development of the Award Presentation Module

During the development process, especially the development of mobile terminal activity pages, after a long time, we will find that the page mode is very fixed, which can save the effort to write the underlying code and directly modularize the "tailism ", you only need to do some positioning work. The award presentation module is often used, so a function is written separately. To prevent name conflicts, some specific formats are provided here.

Function h5_winnerArea (winnerObject, total) {// The parameter is the array object and the number of items to be displayed if (! (ArrayObject instanceof Array) {return}; var viewport = $ (". viewport ") [0]; var length = winnerObject. length; // length of the award object winnerObject = winnerObject. slice (0, total); // The number of truncated object arrays is used to display var h5_winner =$ ("<div class = 'h5 _ winner '> </div> "); h5_winner.appendTo (viewport); // select the first viewport, append this award code to var h5_winnerUser =$ ("<div class = 'h5 _ winneruser'> <span> total </span> <span>" + length +" </span> <span> name-user winning </span> </div> "); break (h5_winner); var h5_winnerArea = $ ("<div> </div>"); h5_winnerArea.attr ("class", "h5_winnerArea"); h5_winnerArea.appendTo (h5_winner ); var h5_winnerArea_list = $ ("<div> </div>"); h5_winnerArea_list.attr ("class", "h5_winnerArea_list"); h5_winnerArea.append (h5_winnerArea_list ); var h5_winnerArea_header = $ ("<div> </div>"); h5_winnerArea_header.attr ("class", "h5_winnerArea_header"); h5_winnerArea_list.append (h5_winnerArea_header ); var h2 = $ (" Corresponding css style: 


. H5_winnerUser {text-align: center; margin-top: 40px; font-size: 24px; font-weight: bold; color: #542004; width: 100% ;}. h5_winnerArea {margin-top: 30px; width: 100% ;}. h5_winnerArea_list {background-color: # ffffff; margin: 0 10px 100px 10px; border-radius: 6px ;}. h5_winnerArea_header {padding: 10px 15px 0 15px ;}. h5_winnerArea_header h2 {font-size: 24px; font-weight: bold; color: # 4d4d4d; border-bottom: 1px soli D # e7e7e7; padding-bottom: 10px ;}. h5_winnerArea_item ul ,. h5_winnerArea_item li {list-style: none }. h5_winnerArea_textOverflow {overflow: hidden;/* overflow element hiding */text-overflow: ellipsis;/* overflow element hiding display '... '*/White-space: nowrap;/* No line breaks. All three are for text processing */}. h5_winnerArea_item ul {padding: 0 15px ;}. h5_winnerArea_item li {border-bottom: 1px solid # e7e7e7; overflow: hidden; padding: 5px 0 5px 0; line-height: 60px; height: 60px ;}. h5_winnerArea_item_icon {float: left; width: 40px; margin-right: 20px ;}. h5_winnerArea_item_icon img {border-radius: 20px; width: 40px; height: 40px ;}. h5_winnerArea_item_name {float: left; font-size: 24px; font-weight: bold; color: #000000 ;}. h5_winnerArea_item_prize {float: right; text-align: right; display: inline; font-size: 20px; color: # 4d4d4d ;}

This module can modify the content at any time as needed. during the development of this module, I learned from that native code may be incompatible with different browsers, therefore, the module uses the jquery framework as much as possible.


Because the mobile phone activity project of iQiYi has not yet been launched. The development is not described here. Thank you very much for your patience in guiding standardized programming as a Senior Programmer.



Summarize and summarize the main links in the software development process (framework activities in the software development process) and their main contents

In the software development process, the main development process involves three steps:
(1) software design. It mainly translates software requirements into a series of expressions (forms, tables, and Pseudo Code) to describe the data structure, architecture, algorithm process, and interface features. It is generally divided into the overall design and detailed design. The overall design mainly analyzes the software architecture, and the detailed design mainly implements the algorithm process.
(2) encoding. Write correct and easy-to-understand program modules based on design expressions. Programmers should select an appropriate programming language based on the nature and actual environment of the target system, and translate the detailed design results into programs written in the selected language, in addition, this module is used to test and compile each module.
(3) software testing. The main purpose is to discover functional, logical, and implementation defects through various types of tests and corresponding debugging, so that the software meets the predefined requirements.

A summary of college students' social practice activities is in urgent need of customs clearance professionals

Green consumption for Middle School Students
-- Study the report on green consumption of contemporary Middle School Students
The consumption structure of middle school students is no longer a single type, but a balanced and advanced type, which leads to diversified consumption. although, due to age, thinking ability, and social experience, its consumption psychology and consumption behaviors inevitably have unreasonable components, therefore, the reasons for the formation of a self-contained consumer psychology in middle school students are worth exploring. however, this survey aims to understand the consumption problems of students, such as the consumption behaviors, consumption concepts, and consumption psychology of middle school students in learning, eating, entertainment, and other aspects, this will further study the consumption view of students in this social group. this initially reflects the consumption problems of contemporary middle school students.
I. Values of money
In today's society, the value of money can be condensed into one sentence. "money is not omnipotent, but it is impossible without money ". this sentence seems to have become the creed cited by many people. it shows that people cannot survive without money, but they do not survive for money. money has two sides. first of all, from the perspective of material exchange, money is indeed omnipotent. It can buy all the material things you need, but it can look at all the activities of mankind, we can find that money is a great limitation. with money, it is possible to obtain material satisfaction, but it may not be possible to obtain spiritual wealth, such as knowledge, ability, family ties, and so on. since the reform and opening up, the development of the market economy has brought us a wealth of material life, but it has also brought us a change in values. in the past, many people talked about money. but now, the money is shaken under the magic knife, not only talking about money with confidence, and do everything possible to make money, people are enjoying the joy of money. it is true that after the hard-working and rich people make money, it is beyond review to "let go and eat", but it is worrying that teenagers who are part of the community, it is also adversely influenced by people's values and mass media, and gradually breeds the psychology of money worship. therefore, money and consumption have had a violent impact on their pure minds.
Second, near Zhu zhichi, too dark
The ancients cloud: "near Zhu Zhe Chi, near Mo Zhe Hei ". children's understanding of money is often influenced by adults. in the surging tide of business, those who are full of money are becoming more and more prominent in the minds of teenagers. "If you have money, you can get everything ", the value of "money is not despised by others" is becoming more and more popular. they erode the pure soul of teenagers. the concept of money supremacy is accepted by them in the haze, making their Socialist Sense of Responsibility, sense of obligation and social morality fade down.
3. Envy and Comparison
Envy is a kind of upward look. when a person has something you have always wanted but failed to possess, you will naturally envy it. if someone else has a private car, you will envy it. If someone else has his own room, you will envy it. If someone else's car is better than yours, you will also envy it; the presence of others is more luxurious than yours, and you will envy it. this is a kind of look-up feeling. this kind of view will bring a blow to our self-esteem and self-confidence.
Comparison is a common social phenomenon. it can be said that everyone has a comparison mentality, but each person has a different comparison object, and the comparison content is varied. however, no matter how you compare, the results are very limited: first, the comparison is turned into a strong motivation, and then catch up with the comparison object; second, the comparison is turned into dissatisfaction and complaints, the third is to turn comparison into unrealistic imagination. The third is to leave the building in front of the building pavilion and think about what is wrong. The fourth is to turn comparison into a reason to slander others, so as to achieve a psychological balance; the fifth is to turn comparison into a reason for self-liberation, which is more than enough than the upper limit. The second is to turn comparison into a kind of injury to loved ones. What can others do, you do not do anything. 7. You can make comparison a way to persuade others to do what they do. 8. You can also make comparison a double-edged sword and deceive others, blame your dissatisfaction on the environment or the incompetence of others. The ninth is to turn comparison into a prejudice that is attached to people, to shake your shoulders. The tenth is to turn comparison into a factor that can induce animal nature, to achieve the purpose, and to do nothing ...... And so on.
5. Guidance after reflection
In the face of the various consumption psychology of middle school students, if you do not carefully guide them, you will surely become middle school students... the remaining full text>

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.