CIMS Logo
joy ~ energy ~ holistic ~ optimistic ~ victorious ~ alive bookmark
Christian Web Solutions
Gospel Bible Music Share
Skip Navigation Links.
Using Inheritance

Although JavaScript allows types to be dynamically modified, and ASP.NET AJAX uses this to add the type system functionality into existing objects, it is not the approach recommended for mainstream development. Instead of modifying a type directly, you can inherit from it and extend it in new members by overriding existing ones.


Help Situation
The Bible Scripture class does not provide a way to generate linkable Bible references. It is tedious and time-consuming for Christian Web developers to manually create web page hyperlinks linking Bible references to online Scripture providers.
Help Target
Christian Web developers working together with Christian Web designers need to create linkable Bible references on web pages to allow users to view Bible text in the Bible version associated with the Bible reference. When a user clicks on a linkable Bible reference on a web page, the browser should open a new window to the online Scripture.
Help Proposal
We will create a new Bible scripture class called SmartScripture based upon the Scripture class using JavaScript inheritance. SmartScripture will contain member properties and functions to generate web page hyperlinks to Bible Gateway (an online Bible provider).

Sample Bible Text
"For God so loved the world, that He gave His only begotten Son, that whoever believes in Him shall not perish, but have eternal life."
Sample Bible Elements
Book: Gospel of John, Chapter: 3, Verse: 16, Version: New American Standard Bible (NASB)
Sample Bible Reference
Jn 3:16 :: NASB
Sample Bible Link
Sample Bible Provider
show The Results
Truth in the Word "Walk in a manner worthy of the Lord, to please Him in all respects." (Col 1:10 :: NASB)  
Truth in the World "Keep away from people who try to belittle your ambitions." (Mark Twain)  
Home | About | Contact | Dedication | Donations | Webmaster
Copyright © 2004-2011 CIMS. All Rights Reserved.
Component Version
.NET Framework 4
NTC4 Server 9.0.0.28687
AjaxControlToolkit 4.1.50401.0