HTTP & AJAX
06.HTTP & AJAX 19 décembre 2023 Développement web il3 HTTP & AJAX HE-Arc (DGR) 2022 HyperText Transfer Protocol • Protocole application : invention www en 1990 (v0.9) – Connexion, GET, réponse, userid=joe&password=guessme • Outils HTTP – CLI : curl – Browser dev tools • Exemples PATCH : mnot4 , SOA bits5 AJAX : Historique • Asynchronous Javascript And Xml • Buzzword, Jesse James Garret6, 2005 • Mise à jour Request (IE5, 1999 pour OWA) – Fetch API • Pas obligatoire d’avoir du JS, XML ni d’être asynchrone ! AJAX • XHR est devenue la méthode standard jusqu’à 2018 – Popularisée par Google (GMaps, GMail, …) –0 码力 | 11 页 | 91.09 KB | 1 年前3Apache Wicket 8.x Reference Guide
19. Working with AJAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 19.1. How to use AJAX components and behaviors 208 19.2. Build-in AJAX components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210 19.3. Built-in AJAX behaviors . . . . . . . . . 226 19.5. AJAX request attributes and call listeners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 19.6. Creating custom AJAX call listener . .0 码力 | 350 页 | 9.95 MB | 1 年前3Apache Wicket 7.x Reference Guide
19. Working with AJAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 19.1. How to use AJAX components and behaviors 208 19.2. Build-in AJAX components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210 19.3. Built-in AJAX behaviors . . . . . . . . . 226 19.5. AJAX request attributes and call listeners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 19.6. Creating custom AJAX call listener . .0 码力 | 346 页 | 10.00 MB | 1 年前3Apache Wicket 10.x Reference Guide
19. Working with AJAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 19.1. How to use AJAX components and behaviors 198 19.2. Build-in AJAX components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 19.3. Built-in AJAX behaviors . . . . . . . . . 213 19.5. AJAX request attributes and call listeners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214 19.6. Creating custom AJAX call listener . .0 码力 | 336 页 | 7.16 MB | 1 年前3Apache Wicket 9.x Reference Guide
19. Working with AJAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 19.1. How to use AJAX components and behaviors 197 19.2. Build-in AJAX components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199 19.3. Built-in AJAX behaviors . . . . . . . . . 212 19.5. AJAX request attributes and call listeners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213 19.6. Creating custom AJAX call listener . .0 码力 | 335 页 | 7.15 MB | 1 年前3Introducing Apache Wicket
declare dependencies on header items and resources: Url jqueyuiUrl = Url.parse("https://ajax.googleapis.com/ajax/libs/jqueryui/" + "1.10.2/jquery-ui.min.js"); UrlResourceReference jqueryuiRef other non-priority item, including its dependencies. Url jqueyuiUrl = Url.parse("https://ajax.googleapis.com/ajax/libs/" + "jqueryui/1.10.2/jquery-ui.min.js"); UrlResourceReference jqueryuiRef JavaScript entry plugins-bundle.js , which includes all the bundle resources. AJAX support “Transparent” AJAX Wicket simplifes AJAX development controlling via Java the following basic operations: ● Generate0 码力 | 53 页 | 1.85 MB | 1 年前3ThinkJS 1.2 中文文档
end('not found'); } }) JavaScript 常⽤用⽅方法 isPost() 当前是否是 post 请求 isAjax() 是否是 ajax 请求 ip() 获取请求⽤用户的 ip redirect(url) 跳转到⼀一个 url,返回⼀一个 pedding promise 阻⽌止后⾯面的逻辑继续执⾏行 echo(data) form_parse 。 可以在项⺫⽬目的 App/Conf/tag.js ⾥里指定⾏行为切⾯面 form_parse 对应的⾏行为进⾏行解析的⼯工作。如: ThinkJS ⽀支持表单⽂文件上传和 ajax ⽂文件上传 2 种⽅方式,解析后的数据放在 http.file 对象⾥里, Controller ⾥里直接使⽤用 file ⽅方法获取即可。 { "name": 单个表单⻓长度最⼤大值,默认为 2MB post_file_upload_path: APP_PATH + '/Runtime/Temp', // ⽂文件上传的临时⺫⽬目录 ⾼高级浏览器下⽀支持使⽤用 ajax 来上传单个⽂文件,如: js var xhr = new XMLHttpRequest(); xhr.onreadystatechange = function(e){ } xhr.open("POST"0 码力 | 104 页 | 1.29 MB | 1 年前3CakePHP Cookbook 2.x
CakePHP comes with a set of view helpers that make things like linking, form output, JavaScript and AJAX a snap. You can learn more about how to use them in Helpers, but what’s important to note here is single argument, which can be the request METHOD (get, put, post, delete) or some request identifier (ajax). It is not a way to check for specific posted data. For instance, $this->request->is('book') will presentational logic to be accessed and shared between views. One of the core helpers, JsHelper, makes AJAX requests within views much easier and comes with support for jQuery (default), Prototype and Mootools0 码力 | 1096 页 | 958.62 KB | 1 年前3Learning Laravel
Token Mismatch Error in AJAX 179 Introduction 179 Examples 179 Setup Token on Header 179 Set token on tag 179 Check session storage path & permission 179 Use _token field on Ajax 180 Chapter 62: use ModelNotFoundException. if ($e instanceof ModelNotFoundException) { // ajax 404 json feedback if ($request->ajax()) { return response()->json(['error' => 'Not Found'], 404); laravel-datatables This package is created to handle server-side works of DataTables jQuery Plugin via AJAX option by using Eloquent ORM, Fluent Query Builder or Collection. Read more about this here or here0 码力 | 216 页 | 1.58 MB | 1 年前3Java 应用与开发 - Java EE 体系结构
OOA/OOD/OOP,Java、C# 面向组件 软件系统是由许多小的组件构建和装配起来的 采用标准规范开发 J2EE, MS.NET 全面采用框架技术 Struts、Spring、Hibernate、AJAX、 WebWork 软件系统采用分层结构和设计模式 MVC 工厂化流水线开发模式 CVS 可视化软件建模 UML、RUP、ROSE 大纲 软件开发现状 Java EE 概述 Java EE OOA/OOD/OOP,Java、C# 面向组件 软件系统是由许多小的组件构建和装配起来的 采用标准规范开发 J2EE, MS.NET 全面采用框架技术 Struts、Spring、Hibernate、AJAX、 WebWork 软件系统采用分层结构和设计模式 MVC 工厂化流水线开发模式 CVS 可视化软件建模 UML、RUP、ROSE 大纲 软件开发现状 Java EE 概述 Java EE OOA/OOD/OOP,Java、C# 面向组件 软件系统是由许多小的组件构建和装配起来的 采用标准规范开发 J2EE, MS.NET 全面采用框架技术 Struts、Spring、Hibernate、AJAX、 WebWork 软件系统采用分层结构和设计模式 MVC 工厂化流水线开发模式 CVS 可视化软件建模 UML、RUP、ROSE 大纲 软件开发现状 Java EE 概述 Java EE0 码力 | 40 页 | 1.89 MB | 1 年前3
共 403 条
- 1
- 2
- 3
- 4
- 5
- 6
- 41