官术网_书友最值得收藏!

Chapter 4. The Wall

As you may have noticeed, this chapter carries the name of a famous album, which rocked the music world back in 1982. The artists used an unusual mix of music and film to produce an exceptional piece of art.

In this chapter, we will be using the same mixed approach, by taking advantage of creative WordPress and JavaScript techniques, in order to create an Ajax powered 'Wall' for your blog's sidebar.

We will be relying on what we have learned so far—WordPress hooks, API calls, and jQuery. We will also introduce a way to use built-in WordPress functionalities to achieve our project goals—saving both effort and time.

This chapter will introduce quite a few interesting techniques such as:

  • Creating a special type of plugin—the Widget
  • Storing the wall comments in the database—working with WordPress database
  • Enter data in the form and updating the wall dynamically—Ajax form submit

You will learn these techniques by:

  • Creating the Wall widget that appears in your blog's side bar. Users can add a quick comment and it will appear in the sidebar immediately (without reloading the page).

The wall will increase the usability of any blog by presenting a global meeting place for all users to communicate.

The Wall
主站蜘蛛池模板: 太原市| 寿阳县| 华池县| 开远市| 马山县| 全椒县| 迭部县| 汉中市| 拜泉县| 彝良县| 乌拉特后旗| 沁水县| 开化县| 福鼎市| 翁源县| 白水县| 瑞安市| 临沧市| 达日县| 揭阳市| 靖西县| 尤溪县| 永昌县| 甘德县| 永州市| 项城市| 芦溪县| 永安市| 酒泉市| 中方县| 隆尧县| 石阡县| 舞钢市| 竹山县| 涿州市| 滨州市| 大名县| 墨竹工卡县| 浪卡子县| 临邑县| 留坝县|