首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > dynamic-widget-web-app

dynamic-widget-web-app

  • 资源大小:0.00 B
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:2次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

Overview Many times when developing web application we need to manage parts of it to load parts depending on cases. Here is very small utility to help with this issue. How it works All you need - is to add a tiny JavaScript called "loader.js" to very simple main page. Than create several widgets. Load the widgets only if needed and in background. What is widget This is up to 3 parts (js, html & css) packed as JSON in following format: { "html" : "... html of a widget ...", "js" : "... javascript ...", "css" : "... style ..." } I don"t recommend to write the widget in JSON format, instead see how I do it in 3 separate files and simple script to wrap it into JSON. Where to start? You can download the example and add your widgets. For now you can see PHP and Google-App-Engine with Python examples.

文 件 列 表

examples
gae-python
php
loader.0.1.min.js
loader.0.1.js
VIP VIP
  • 睥睨 20分钟前 成为了本站会员

  • ? 1小时前 成为了本站会员

  • IATWAY 1天前 成为了本站会员

  • 大智若愚 1天前 成为了本站会员

  • Mason 1天前 成为了本站会员

  • 1天前 成为了本站会员

  • Half_Punch 2天前 成为了本站会员

  • liqing71718 2天前 成为了本站会员

  • 伟国 2天前 成为了本站会员

  • songy 2天前 成为了本站会员

0.190295s