Sunday, April 27, 2008

my_road_on_dev_facebook_app



How to Develop a Hit Facebook App: 29 Essential Tools and Tutorials

Resources to help you build a successful Facebook app that users will love.


"Wanted: Facebook App Developer" is one of the most popular programmer job-board postings of 2007. Seemingly everyone is trying to capitalize on the popularity of Facebook by developing their own integrated application in the hopes that it will go viral. Unfortunately, however, there still isn't a lot of good information available as to how to actually create a working Facebook app, not to mention a popular one. In this article, we provide you with the information you need to not only create an integrated Facebook application, but also with the resources necessary to better ensure that it is a successful one.


Introductory Links: The Basics

Although Facebook's developer resources won't provide you with the depth of information needed to build something remarkable, it should be every new Facebook developer's first stop. The following resources will provide you with a solid foundation to begin developing and integrating your first app.

1. Anatomy of a Facebook Application: A quick overview of a Facebook application; useful to familiarize yourself with the process before starting out.

2. Facebook Developer's Platform: From documentation to resources and tools, this is your one-stop resource for achieving deeper integration between Facebook and your app.

3. Facebook Developer Documentation: A beginner resource for details of the API, as well as the Facebook query and markup languages.

4. Facebook Step-by-Step: Now that you have the background, Facebook's official application guide will walk you through achieving "Hello World" Facebook integration.

seems that php5 and mysql are needed.



5. Facebook FAQ: Answers the questions that Facebook developers most often ask.

Tricks of the Trade

Having covered the basics of Facebook app development and integration, you'll want to start creating more complex applications and achieving more seamless integration. The following resources are essential reads for intermediate Facebook developers, as they'll help you avoid some of the common mistakes and pitfalls when developing more complex apps.

6. 5 Facebook Application Gotchas: These five tricks to creating an app include how to navigate the time-out glitch and preparing for the load Facebook will throw at your servers.

7. 10 Things I Wish I Knew Before Developing My Facebook App: This list will help you navigate the errors of others and omissions in the official developer's guide rather than trying to reinvent the wheel.

8. Developing Facebook Applications in C# with ASP.NET: Some essential steps and work-arounds that you won't find in the Facebook documentation; this will save you some time if you're writing a Facebook application using ASP.NET and C#.

9. How to Build a Facebook Application with RoR (Ruby on Rails): A quality step-by-step tutorial with screenshots.

10. Fist in Your Facebook: A good resource article covering lessons learned through trial and error development of an RoR Facebook app.

11. 5 Development Tips for the Facebook API: Five basic setup and bug work-around tips.

12. Facebook App Dev Podcast: A Facebook development podcast by veteran developers Derek Hatchard and Mike Mullen.

Code Samples, Discussion and Forums

Why reinvent the wheel if you can just borrow and share information with other developers? These code samples, discussion walls and forums will speed up the development process by facilitating collaboration with other Facebook developers.

13. Ruby on Rails Facebook Forum: A relatively active RoR Facebook forum.

14. Code Samples and Patches: CodePlex's Facebook developer toolkit code samples and patches.

15. The Facebook Platform Wiki: A user-created reference for Facebook platform developers.

16. Cheeky Facebook Development Discussion Board: A real-time wall with a limited but growing user base (must be logged in to Facebook to access).

17. CodePlex: The Facebook Developer Toolkit is a full complement of components, controls and samples for developing applications using Facebook's API. The kit also includes C# and Visual Basic wrappers for the Facebook API to make application development simple, fun and quick.

18. Facebook Developer Toolkit Walkthrough: A step-by-step video development tutorial using CodePlex's Facebook developer toolkit.

19. AllFacebook: The unofficial Facebook blog, covering everything Facebook related, including app development.

Success and Marketing

A Facebook app is only worth developing if it actually gets used. Given that there are currently more than 1,500 applications available, there is plenty of competition. Going viral, however, isn't purely up to chance. Rather, by looking for common characteristics among other popular apps, as well as picking the brains of successful Facebook developers for tips, you can dramatically improve your chances for creating a Facebook app that people actually use.

20. 10 Tips for Releasing your Facebook Application and Maximizing Growth: This essential read for developers covers 10 important factors and promotional tools when launching your app.

21. The Top 105 Facebook Applications, Ranked: This ranking provides some good insight into what apps you'll be competing against, as well as what users like.

22. Insider Dev Tips from the Maker of the "Quizzes" App: An insightful interview about marketing from the creator of one of Facebook's most popular apps.

23. Tips for Developing a Successful Facebook App: This interview with the creator of the popular Free Gifts app is specifically focused on how to make your app popular.

24. The Top 20 Geographic Facebook User Bases: If you're developing an app, its good to know where your target audience is coming from. This article identifies users by geographic area.

25. Strategies for Going Viral: An article detailing the subsequent changes to Facebook's app-virality policy and how it is affecting app developers.

26. Mashable's Top 30+: A good source for determining what the average user finds attractive in a Facebook app.

27. The Costs of Facebook Popularity: The popularity of a Facebook app also has its costs. This article covers the potential financial costs of maintaining a successful Facebook app so that you know what you're getting into.

28. The Top 5 Facebook Apps: A quick summary of the top five apps with brief reviews. These give you some insight into what users are looking for.

29. Inside Facebook's Weekly Top 25 Apps: A rundown of the top 25 apps by user numbers, which is an excellent resource for determining what works when it comes to Facebook apps.

Tuesday, December 18, 2007

Trip Advices to Shanghai

Trip Advices to Shanghai

All these content come from http://www.tripadvisor.com;

Shanghai Architecture. 1

Shanghai Culture. 2

Shanghai Health & Safety. 4

Shanghai History. 5

Shanghai Neighborhoods 6

Shanghai Tourist Board Info. 7

Shanghai Architecture

Shanghai's main streets and back roads give an immediate feeling of old versus new. The old consists not so much of Chinese style buildings as European buildings, and while it might seem that temples would be a great place to visit to find older buildings, many of these have been rebuilt in the last forty years.

The Bund is the showcase of European buildings, and it follows right along the Huangpu River. The area is both scenic and extremely well lit at night. In fact, on a busy weekend night police try to limit the crowding along the river walkway, so you may have to wait if you head to this popular pedestrian strip in the early evening. The buildings here are now occupied by several companies and some government offices, and if you walk along the Bund at the top of the hour, you can hear the bell tower ring out the tune “The East is Red.” One of the key features of the Bund is the contrast it provides. The Puxi side of the river, with the former British settlement, is a preserved historic site, so no new development can happen in a way that cuts the classic buildings off from the river. While strolling the Bund walkway the view across the river shows an amazing contrast of contemporary or even space-aged looking buildings. This is a great view of Lu Jia Zui.

A short ferry ride from The Bund will put you in Lu Jia Zui, but take some time to enjoy the view of the buildings from The Bund side before heading over there. The Oriental Pearl Tower is probably the most noticeable building, and street vendors everywhere in Shanghai sell models and balloons of this architectural model. You may not think it's beautiful, in fact many people don't, but you must admit the structure is unforgettable. At night there is an impressive light display on this building, as well as large tv projections off the Aurora building in Lu Jia Zui that are easily viewed from The Bund. Also in Lu Jia Zui is the tallest building in Shanghai (at least for the next few years, plans are underway for a taller Shanghai World Financial Center): the Jin Mao Building. Interesting modern buildings are all around Shanghai, all you need to do is look up while touring the city. The Bund Center, a block in from The Bund, stuns with its crown top, the J.W. Marriott looks like something directly out of Gotham City, and city buildings like the Shanghai Museum stun with the meeting of old and new – a modern building in the style of a classic Chinese vessel.

Xin Tian Di is certainly worth a visit not only because of the interesting shops and bars, but also because of the architecture. The older buildings in this area were built in the mid 1800s as a fusion of European and Chinese architecture. The newer buildings towards the back of the complex show the ultra-modern style Shanghai currently promotes.

Other areas for European architecture include parts of Huai Hai Road and Heng Shan Road. These areas run through the former French Concession, though most of the interesting buildings were estates rather than public buildings. Today many countries' embassies are found in this area, some interesting night clubs can be found, the former house of Premier Zhou Enlai (a historic site), and some private residences.

Jing An Temple is an easy site to visit by subway or bus, and it is a reinvented temple. This is a prime example of a classical building that is not so old, so it is technically not so classical. The building was originally a temple, converted to a plastic factory, and then re-opened as a temple in the 1980s. The complex underwent another rebirth in 2002-2003 as the complex was expanded and areas rebuilt to bolster up the building next to a large shopping center next door.

Shanghai Culture

Shanghai has a little bit of everything, depending on where you spend your time. Culturally, you can retreat to the comforts of home, or you can venture out and experience the local life. High end places in the city like West Nanjing Road, Xintiandi, and Hengshan Road are places filled with people in high fashion going to high end stores like Versace, Tiffany’s, Chanel, and a huge Sony gallery. Other parts of the city show much more of a mixture of class and dress, but with a tendency towards cosmopolitan hipness not found in other parts of China.

Shanghai has a culture of activeness, a busy city where aside from the daily commute to and from work, people make the time to run to the fresh market for daily groceries, walk around the city and maybe do a little shopping, and even take part in early morning exercises in parks and other pedestrian areas. There are also dance and exercise groups in the evenings, most notably in People’s Square, in front of YuYuan Garden, and also at Zhongshan Park.

There is a professional sports scene in the city, and Shanghai is renowned for its Chinese Basketball Association team, the Shanghai Sharks. The team made international news when the player Yao Ming was picked up for the NBA’s Rockets. Shanghai has hosted international tennis tournaments, and also has a professional soccer team.

People in Shanghai value good food, and have a taste for the exotic, so many foods can be found like Brazilian barbeques, Hong Kong specialties, Japanese cuisine, and even specialties from Turkey. This is in addition to restaurants with all Chinese cuisines. Try to venture beyond the typical outlets for foreigners, and be sure to ask about the cuisine. Of particular note are Hot Pot restaurants, where the broth is cooked at your table and you add the foods you’d like to eat to the broth. Other Shanghai specialties include pork dumplings filled with meat and a soup broth called Xiao Long Bao.

Performing arts can be found all over the city, especially at the Shanghai Center, located in the Ritz Carlton complex, and the Grand Theater, which is found in People’s Square. Performances range from plays, operas, touring international musicals, to concerts from international superstars. Chinese opera and acrobatic shows are also featured in the city, and cinema complexes are found all over the city.

Shanghai strongly values education and competition, and on weekends it is common to see contests on tv and around shopping centers in the city. Competition can range from English speaking contests to music competitions or modeling competitions. The people in Shanghai are in a race to get ahead, to make more money and give their children a better education.

It’s important to keep in mind that there is not as much customer service sense in China, so be patient. This is changing, and the level of service that you see in Starbucks and other foreign companies is showing up in local establishments.

In this financially minded city, a final value to reflect on is the bargain. People value bargains, and also value the fine art of bartering. It is important to get a sense of where you can bargain. While some places like department stores do not allow bargaining, street stalls, small boutiques, and large stores that rent out counters often do allow bargaining. It doesn’t hurt to try, and it is a safe bet that if the person is trying to talk you into looking at their wares that you can bargain with them.

Shanghai Health & Safety

Shanghai is a fairly safe city. Areas of greatest concern are the foreigner targetted nightclub areas such as Mao Ming Road and Ju Le Road. These areas can be a bit more risky late at night when the establishments close around 2AM. Right around closing, police cars can be seen guarding the end of the street, so being aware of your surroundings should be enough to stay safe. Keeping to well lit areas late at night is a great way to stay in safe areas.

The bigger issue in Shanghai is pickpocketing. When walking around pedestrian boulevards and outdoor shopping areas no pocket and no bag is safe. Again, being aware of your surroundings is the best policy. Police and security are fairly present in the city in navy uniforms, and the police can be reached by dialing 110. The pedestrian area of Nanjing Road is the area where travellers should exercise the most caution, especially on the edges by the intersection with Henan Road, and the intersection with Xizang (Tibet) Road.

When crossing streets, be aware that motorists, bicyclists, and motorcyclists will most likely not stop for you, but try to find the shortest way around you. Avoid making direct eye contact with motorists, because if you do, he assumes you will stop for him.

In rainy weather, many public places become extremely slippery as the surfaces are covered in highly polished marble which offer no traction for most types of footwear.

Scams

You may be approched by beggars or see beggars with small children on the street. These are sometimes run by large underground networks that take kids from villages, then put them on the street to beg. Sometimes these underground operations even physically deform a child in the hope of generating more sympathy money. So don't feed this negative cycle by giving them money.

You might also be approached by beggars in outdoor dinning areas on Nanjing Road (for example, outdoor bars, coffee shops, cake shops etc), often these are young children who are not really poor but is just looking for an easy way to make money. These kids will often beg by standing near your table, then getting down on their knees to beg, and as a last resort, they will ask you to give them your food instead of money. The quickest way to get rid of these kids is to inform the restaurant staff, or to tell them you will call the police if they don't leave you alone.

In heavily touristed shopping districts such as Nanjing Rd., unattached foreign men may be approached by young ladies inviting them to a special private bar for drinks and conversation. These are often scams where upon leaving, the victim is presented with an outrageous bill and won't be allowed to leave unless he pays up.

Arriving at either of Shanghai's airports, you may be approached by someone in the meet and greet area offering taxi services. These are unlicensed, illegal taxi's and more often than not you will be forced to pay a much higher fare, if not robbed outright. Always go outside the terminal to an officially marked taxi station. Avoid any taxi with a license plate beginning with the letter 'X' - those are illegal private taxis.

Shanghai History

Shanghai started out as a coastal fishing community, and grew as an urban trading area during the Tang Dynasty. The area initially prospered as a ship building and textile producing city, and became a major shipping port in the 13th century. Shanghai was such a fantastic port on into the Qing dynasty because it was not only a coastal port, but they had great ability to ship inland up the Yangtze River.

In 1840 the British occupied Shanghai during the Opium War, the result of this conflict established Shanghai as a treaty port and a set of foreign concessions in the city were built, areas managed by Britain, France, and the United States. The build of foreign presence in Shanghai was followed by times of conflict, the worst of which was the Sino-Japanese war. Early communist party meetings occurred in Shanghai, and when they rose to national power in 1949, the foreign presence withdrew from Shanghai.

Along with the rest of China, Shanghai started opening its doors in 1976, and the city has a pace of economic development several paces ahead of the rest of the country. Pudong was designated a development zone in 1990, and this helped encourage further investment both domestically and internationally. The city has a vibrant expat community, and its economic success attracts a workforce from across the country, if not the world.

Shanghai Neighborhoods

Shanghai has myriad neighborhoods, and it seems that something interesting is going on only a block or two away. The neighborhood in Jing An district, just north of the Jing An temple is a great local neighborhood, with schools, restaurants, and entertainment centers like karaoke halls and bowling alleys.

Gubei district, on the west of the city, has taken off as an area for foreign settlement. There are a few international schools out here, and a giant Carre Four supermarket. This attracted many great restaurants and pretty greenways around buildings to stroll around, a more laid back environment than some of the more downtown areas. This is one of the few parts of the city where you can see houses as opposed to massive apartment and condo complexes.

The area of Hongkou, north of The Bund and across the Suzhou Creek, is a great area for a stroll, especially along Sichuan Road North. The area is an interesting conglomeration of residence, manufacture, and shopping that is exemplary of everyday living in Shanghai.

Huangpu district includes more of the downtown areas, The Bund, much of Nanjing Road, the Xin Tian Di shopping and entertainment complex, People's Square with its abutting Grand Theater and museums, and most interestingly Yu Yuan Gardens. This is an area worth checking out during business hours, and after hours as the local community exercise in many of the greener areas is fun to watch. People practice Tai Chi, ballroom dancing, and other routines in the courtyard area in front of the Be For Time Teahouse just right of the main entrance to Yu Yuan Gardens.

If you want a short trip to give an impression of what much of the rest of China looks like, with additional access to some older buildings, it is worthwhile heading out on the subway to the end of the line 2 subway to the Zhang Jiang High Tech Area Station, and then catching a taxi or bus out to Chuan Sha. This town area on the fringe of Shanghai has some beautiful older buildings and pagodas, and gives an idea of what much of China looks like.

Hengshan Road and Huai Hai Road offer some great communities around the French concession area. Some of these neighborhoods are quite pretty with parks and trees everywhere, giving a quiet elegance. Foreign embassies can be found around Huai Hai Road as well as good window shopping and nightlife.

On the Pudong side of Shanghai, Lujiazui encompasses most of the financial district with its modern skyscrapers, an assortment of 5 star hotels, and a few notable attractions such as the Oriental Pearl Tower, Jinmao Tower (currently China's tallest building), and the still-under-construction Shanghai World Financial Center, set to be the world's tallest building by the time it's completed. In addition, you'll find some impressive museums such as the Ocean Aquarium and the world-class Shanghai Science and Technology Museum. Close by is sprawling Century Park, an oasis of greenery and lakes and a great place for bike riding, canoeing, or jogging.

Shanghai Tourist Board Info

Shanghai Tour – managed by the Shanghai Municipal Tourism Administrative Commission

http://lyw.sh.gov.cn/en/

Shanghai tourist and information centers, their addresses and phone numbers:

http://lyw.sh.gov.cn/en/info/list.aspx

For every fresh news, ShanghaiDaily is your best choice:

http://www.shanghaidaily.com/

For expat talking about Shanghai--Living and woring in Shanghai:

http://shanghaiexpat.com

City Weekend is a great free magazine about events and attractions in the city that can be picked up in bars and cafes around the city. Their information is also available online: City Weekend

That's Shanghai is a free monthly magazine also found around the city in similar places as City Weekend. A database of their information has been pooled with Asiaexpat's resources: http://shanghai.asiaxpat.com/

Friday, November 30, 2007

Shanghai Introduction

FROM : [ http://www.joannarealestate.com.cn/shanghai/shanghai_facts.asp ]


Shanghai Facts / Shanghai Introduction

Shanghai , a major port city on the west coast of the Pacific, is a municipality directly under the central government, covers 6341 square kilometers (145 square miles) and has 1,419 million inhabitants. It is between latitude 31°4' north and longitude 121°9' east and an average annual temperature of 15.7°C with an annual rainfall of 1,200 mm.
Located where the Yangtze River, China's largest river, joins the country's prosperous eastern coast, Shanghai has evolved from a small 19th century fishing town into a modern metropolis and a renowned financial and trade center in East Asia.

Shanghai has a written history of over 4,000 years. After the mid-Qing Dynasty, Shanghai became an important port for domestic and foreign trade. Now Shanghai Port is the country's largest and ranks third in the world. It is linked with more than 400 ports in about 160 countries and regions.

Known as the " Museum of World Architecture ", Shanghai has houses and buildings of classical Chinese, European, Japanese and modern styles. The streets of Shanghai are named after Chinese provinces, cities and counties. The elevated Inner Ring Road , 47.66 kilometers long, surrounds the city proper and links Pudong with Puxi. Another elevated highway runs from south to north through the city's downtown area. The subway Metro Line One runs from the Shanghai Railway Station to Xinzhuang. A multi-tiered traffic network has emerged in Shanghai . The Bund along the Huangpu River was once known as the "Wall Street of Far East ".

Shanghai is one of China 's old industrial bases. The reform over the past 20 years has injected the city with new vitality. The city's service industry now represents a growing part of Shanghai 's economy. Finance and insurance, commerce, real estate, tourism and information represent the key sectors for development. The city's goal is to turn Shanghai into a regional economic and trade center. The Shanghai Stock Exchange and various specialized markets have developed rapidly in Shanghai , which also has the country's largest foreign exchange trading center as well as many foreign banks and insurance companies.

The city has attracted more than 20,630 direct foreign investment projects, nearly 300 of which were invested by big-name multinationals. More than half of the world's top 100 industrial companies have invested in Shanghai .

Shanghai is also a historical and cultural city with a rich heritage: the beautiful Longhua Pagoda dating from 242 A.D., the exquisite Mao Pagoda built in Tang Dynasty and the Song Dynasty Huzhou Pagoda, which leans even more than the Leaning Tower of Pisa. Loom inventor Huang Daopo and famous Chinese calligrapher Zhao Menfu, both of the Yuan Dynasty, lived in Shanghai for some time. The city has a number of Ming and Qing Dynasties gardens. The most famous is the Yuyuan Garden built in 1559.

Shanghai also has the Former Residence of Dr. Sun Yat-sen, founder of the Kuomintang (KMT); the Tomb of Soong Ching Ling, wife of late Dr. Sun Yat-sen and honorary president of the People's Republic of China; the Former Residence of Lu Xun, great man of letters in modern China; and other places of historical significance such as the Jade Buddha Temple and Xujiahui Church.

Thursday, November 1, 2007

Travel tips to China first time

The following paper is good for guys who first come to China, especially to Great Wall, which is at Beijing.

We should thanks to Miles, [ http://blogs.sun.com/arungupta/ ]

Travel Tips to Beijing

I arrived in Beijing for Sun Tech Days earlier this week. Here are some travel tips:

  1. If you are a Wells Fargo banker, take the Access Code from Customer Service before boarding the flight. This code allows you to talk to a Wells Fargo banker in USA from anywhere in China. There are separate codes for North and South China. Dial the access code, get the operator, mention the 800-869-TO-WELLS and voila you are connected to the network.
  2. Nichole & Renita were gracious to let me share the ride from airport to the hotel so I missed that part of the experience. But it's recommended to walk out of the airport and get a Taxi from the Taxi Stand instead of getting lost in rooks (sp?) within the airport. It's also recommended to have your hotel name written in Mandarin because the Taxi Drivers may not be able to read/speak English.
  3. Took a guided tour from the hotel to Forbidden City and Great Wall of China. It covered Transportation, Lunch, Parking tickets and Tolls and an English-speaking guide. You can do the same using a private taxi but it may turn out to be slightly costly and most likely you will not get an Mandarin-speaking driver and therefore no guide :) As part of the standard tour, they may take you to a Silk Emporium and Jade Factory, they are fun places just to learn how they are all manufactured.
  4. Shopping is a LOT of fun in Beijing. There is a great variety of clothes, toys, gadgets, etc. at local shops. And no shopping is complete without bargaining and that too HARD bargaining. For example when shopping at touristy places, such as street-side shops near Great Wall, bargain HARD. The rule that I followed was to quote the price to 10% of the original. Here are some examples:
    Item Quoted Paid
    Tee-shirts 1 for 130 RMB 3 for 50 RMB
    Cashmere Scarf (can't be original ;) 1 for 160 RMB 5 for 80 RMB
    Great Wall Memento 350 RMB 20 RMB
    Refrigerator Magnet 20 RMB 5 RMB

    Generally the shopkeepers will give a counter offer but be straight-faced and maintain your price. To keep it easy, just stick to your price and pretend walk away. In all the cases, I was approached with my quoted price :)

  5. If you plan to visit Great Wall during November, make sure to carry good warm clothing including gloves and an ear-long cap and a good hiking/walking shoe. It is extremely windy and certain portions of the Wall are really steep.

Wednesday, October 31, 2007

Introduction to Jinqiao

One post from wangjianshuo's blog, which gave detailed introduction.

http://home.wangjianshuo.com/archives/20040502_jinqiao_biyun_international_district.htm

Append photo of Church