You have a page that lists important detail and you want to allow
the user to quickly and easily submit a form without reloading the whole
page and losing their place on the website.
Using the AjaxHelper, create a
new form that is submitted by Ajax and automatically updates the
existing content with the newly submitted item.
The following example is going to put several of the previous
recipes together, to demonstrate how to allow users to submit a comment
on a book without being redirected to different pages to both see the
comments and submit their own comment.
To start with, a new model must be created that will store the
comments for a book. With the Models
folder selected, right-click and choose Add→Class.
The name of the class will be BookComment.cs. This model will store the
comment submitted about a specific book:
Next, the previously created BookDBContext must be updated to contain a
reference to this table. This class was previously created in the
original Book model. At this point,
it would make sense to create a new file specifically to store this
class, as it might continue to grow in your project with future tables.
Right-clicking on the Models folder again, select
Add→Class. The name of this class will be BookDBContext:
We turn to the topic of rebellionwhen a faction rebels, how the group and leader respond to the conflict, and how the conflict is resolved. I presented the essence of my ideas in
Relational Group Psychotherapy,
and I rely, with some modifications, on that text. The illustrative clinical examples and accompanying discussions are new. I also clarify and emphasize the distinctions between
and the other pathways of rebellion:
Groups are not tranquil, as they are composed of individuals with different needs, wants, and goals. Disagreement over principles and values, the direction of the group, and the modus operandi of the leader, are to be expected, and these dynamicsamong others that relate more specifically to the intra- and inter-psychic relationships among individualsstructure the groups formation, motivate its membership, and drive its process.
I describe different pathways of rebellion, differentiated by their processes and outcomes:
defiance, secession/exile, anarchy,
. Rebellion denotes a strategy adopted by a faction, when other avenues of influence seem unappealing, or even futilea judgment that depends on the state of mind of the rebel as well as on the groups
Chapter eight, this volume
): its genuine receptivity to discussion and change. The rebelling faction feels that to participate in the principles and practices of the current or proposed direction of group interaction would require unacceptable submission. The values represented by rebellion may be presented as intellectually, morally, emotionally, or pragmatically unassailableabsolutenot subject to extended disagreement, negotiation, or repudiation. As rebellion arises, there may seem no route available for successful compromise.
Armed with the fundamentals of PL/SQL, it’s now time to write programs that do more than say hello. This chapter starts to build the actual library catalog application that will accompany us throughout the book. The new language topics introduced in this chapter include procedures, functions, and packages. You will learn what they are, how to create them, and how to use them to address functional requirements.
Some Background on the Example
The programming examples in this book center around building a system that will assist in the cataloging and searching of library books—a kind of “cardless” electronic catalog. In my hypothetical library, all the library’s operational data is to reside in an Oracle database. How will the actual catalog information—title, author, and the like—get stored in Oracle? One way is for librarians to enter the data by hand. In later chapters, you will see a way the data can be loaded automatically from a remote source, and how library patrons search and retrieve information once it’s in the catalog.
“The power of patriarchy has been extremely difficult to understand because it is all-pervasive. It has influenced our most basic ideas about human nature and about our relation to the universe—‘man’s’ nature and ‘his’ relation to the universe, in patriarchal language. It is the one system which, until recently, had never in recorded history been openly challenged, and whose doctrines were so universally accepted that they seemed to be laws of nature.”
Fritjof Capra (1982, p. 29)
“As a result of what has been, quite literally, ‘the study of man’, most social scientists have had to work with such an incomplete and distorted data base that in any other context it would immediately have been recognised as deeply flawed.”
Riane Eisler (1987, p. xviii)
When we think about the development of feminist ideas and critiques, we are reminded of what Bateson (1972) wrote about levels of learning. He defined three different levels of learning, which he related to our understanding of the context in which we learn. The extent to which we understand context determines the kinds of questions we ask or do not ask, and therefore what we know or do not know.