- Oracle Application Express 4.0 with Ext JS
- Mark Lancaster
- 248字
- 2021-04-09 21:18:19
Using Ext JS in a hosted APEX environment
Oracle APEX is designed to support hosted development, where the only access you have to your workspace is via a browser. The Application Builder and SQL Workshop contain all the necessary functionality to build an application from scratch without any other tools.
Typically in a hosted environment such as http://apex.oracle.com, you don't have access to the web server to upload the Ext JS files. In this situation, you can take advantage of Ext partnering with CacheFly, a global content network, to provide free CDN hosting for the Ext JS framework.
A Content Delivery Network (CDN) is a collection of web servers distributed across multiple locations to deliver content more efficiently to users. The server selected for delivering content to a specific user is typically based on a measure of network proximity.
For example, the server with the fewest network hops or the server with the quickest response time is chosen; that is, using a CDN to deliver static content, such as Ext JavaScript, CSS, and images will result in your pages getting downloaded significantly faster.
In the hosted environment, you don't load the Ext files onto the server, instead simply reference the Ext content in your Oracle APEX page templates from the CacheFly site. The following code will be added to Oracle APEX page templates:
<link rel="stylesheet" type="text/css" /> <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.3.1/adapter/ext/ext-base.js"></script> <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.3.1/ext-all.js"></script>
We will look at page templates and how to integrate Ext JS content in greater detail in Chapter 3, Building an Ext Theme into APEX.
- Vue.js前端開發(fā)技術(shù)
- UG NX10.0從新手到高手
- 中文版3ds Max 2012實用教程(第2版)
- 從零開始:Photoshop CC 2019中文版基礎(chǔ)教程
- 中文版After Effects CC實用教程
- Procreate繪畫創(chuàng)作從入門到精通
- 中文版Photoshop CS6平面設(shè)計實例教程(第2版)
- Photoshop+CorelDRAW平面設(shè)計實例教程(第4版)
- AutoCAD 2019中文版計算機輔助繪圖全攻略
- SolidWorks 2018有限元:運動仿真與流場分析自學(xué)手冊
- 好學(xué)、好用、好玩的Photoshop 寫給初學(xué)者的入門書(第4版)
- 中文版Illustrator 2020基礎(chǔ)教程
- 攝影師的后期必修課(調(diào)色篇)
- 修片有道:PHOTOSHOP攝影后期專業(yè)技法
- 剪映:從零開始精通短視頻剪輯(電腦版)