Persistent programming languages attempt to eliminate the impedance mismatch by
extending the programming language with database capabilities. In a persistent programming language, the language’s type system provides the data model, which usually contains rich structuring mechanisms. In some languages, for example PS-algol and Napier88,
procedures are ‘first class’ objects and are treated like any other data objects in the language. For example, procedures are assignable, may be the result of expressions, other procedures or blocks, and may be elements of constructor types. Among other things, procedures can be used to implement abstract data types. The act of importing an abstract data type from the persistent store and dynamically binding it into a program is equivalent to module-linking in more traditional languages.
The second important aim of a persistent programming language is to maintain the same
data representation in the application memory space as in the persistent store on secondary
storage. This overcomes the difficulty and overhead of mapping between the two representations, as we see in Section 26.2.
The addition of (transparent) persistence into a programming language is an important
enhancement to an interactive development environment, and the integration of the two
paradigms provides increased functionality and semantics. The research into persistent programming languages has had a significant influence on the development of OODBMSs,
and many of the issues that we discuss in Sections 26.2, 26.3, and 26.4 apply to both
persistent programming languages and OODBMSs.
The more encompassing term Persistent Application System (PAS) is sometimes used now instead of persistent programming language (Atkinson and Morrison, 1995).
การเขียนโปรแกรมภาษาถาวรพยายามที่จะขจัดความต้านทานไม่ตรงกันโดย
การขยายการเขียนโปรแกรมภาษากับความสามารถในฐานข้อมูล ในการเขียนโปรแกรมภาษาถาวรระบบภาษาของชนิดมีรูปแบบข้อมูลซึ่งมักจะมีกลไกโครงสร้างอุดมไปด้วย ในบางภาษาเช่น PS-Algol และ Napier88,
ขั้นตอนการเป็นวัตถุ 'ชั้นแรกไฟและได้รับการปฏิบัติเช่นเดียวกับวัตถุข้อมูลอื่น ๆ ในภาษา ตัวอย่างเช่นกระบวนการที่มอบหมาย, อาจจะเป็นผลของการแสดงออกขั้นตอนอื่น ๆ หรือบล็อกและอาจเป็นองค์ประกอบของการสร้างประเภท เหนือสิ่งอื่นใดขั้นตอนสามารถนำมาใช้ในการดำเนินการชนิดข้อมูลนามธรรม การกระทำของการนำเข้าชนิดข้อมูลนามธรรมจากร้านค้าถาวรและแบบไดนามิกที่มีผลผูกพันมันลงในโปรแกรมเทียบเท่ากับโมดูลการเชื่อมโยงในภาษาแบบดั้งเดิมมากขึ้นจุดมุ่งหมายที่สำคัญที่สองของการเขียนโปรแกรมภาษาถาวรคือการรักษาเดียวกันแทนข้อมูลในหน่วยความจำโปรแกรม พื้นที่ในการจัดเก็บถาวรที่รองเก็บ นี้ครอบงำ culty dif ไฟและค่าใช้จ่ายของการทำแผนที่ระหว่างสองแนวทางที่เราเห็นในมาตรา 26.2 นอกเหนือจาก (โปร่งใส) คงเป็นภาษาการเขียนโปรแกรมเป็นสิ่งสำคัญที่เพิ่มประสิทธิภาพในการพัฒนาสภาพแวดล้อมแบบโต้ตอบและบูรณาการของทั้งสองกรอบให้เพิ่มขึ้น ฟังก์ชั่นและความหมาย การวิจัยในการเขียนโปรแกรมภาษาถาวรมีลาดเทมีนัยสำคัญในอิทธิพลชั้นในการพัฒนา OODBMSs, และอีกหลายปัญหาที่เราจะหารือในส่วน 26.2, 26.3, และ 26.4 นำไปใช้กับทั้งการเขียนโปรแกรมภาษาถาวรและ OODBMSs มากขึ้นครอบคลุมระยะระบบแอพลิเคชันถาวร ( PAS) บางครั้งก็ใช้ตอนนี้แทนการเขียนโปรแกรมภาษาถาวร (แอตกินสันและมอร์ริสัน, 1995)
การแปล กรุณารอสักครู่..
