首页 \ 问答 \ 将GWT与CMS结合使用(如Vosao)(Using GWT with CMS (like Vosao))

将GWT与CMS结合使用(如Vosao)(Using GWT with CMS (like Vosao))

我有一个完全用GWT构建的工作网站。 我想测试它在CMS中使用; 因为使用CMS可能是未来更容易维护的方式,而不必重写代码。

这就是我使用GWT的原因:

  • 不想使用JS编写JS代码和操作页面。
  • 最重要的是,我想重用我的动态小部件,比如我用来填充产品页面的Flextable,而不是处理CSS和模板(以及类似的东西)

与此相关的瓶颈是使用CMS(如Vosao)非常不容易

将GWT用于CMS的正确策略是什么?


I have a working website built completely with GWT. I want to test it to be used in a CMS; since using a CMS is likely to be the way for easier maintainance in the future instead of having to rewrite code so much.

Here's the reason why I use GWT:

  • Don't want to write JS code and manipuate pages using JS.
  • Most importantly I want to reuse my dynamic widgets, like the Flextable I use to populate the products page, instead of dealing with CSS and template (and stuff like that)

Bottleneck with this is that is quite not easy to use with a CMS (like Vosao)

What is the proper strategy on using GWT with a CMS?


原文:https://stackoverflow.com/questions/15319560
更新时间:2023-06-12 08:06

最满意答案

(1)当错误13600的文本引用“第二个错误消息”时,它表示堆栈中的下一个错误 - 在本例中为QSM-03112。

(2)我相信错误的原因是调用TUNE_MVIEW中的第二个参数意味着CREATE MATERIALIZED VIEW语句的全文,但是您只传递查询文本。

(3)对于多行问题,如果你使用显式的PL / SQL匿名块而不是“execute”,我期望它可以工作,例如:

BEGIN
  :mvddl := 'create materialized view MV_FOO_BAR
             build immediate
             refresh fast on commit
             ...
            ';
END;
/

(1) When the text for error 13600 refers to the "second error message", it means the next error in the stack -- in this case QSM-03112.

(2) The reason for the error, I believe, is that the second parameter in the call to TUNE_MVIEW is meant to be the full text of a CREATE MATERIALIZED VIEW statement, but you are passing just the query text.

(3) For the multi-line issue, I expect it will work if you use an explicit PL/SQL anonymous block instead of "execute", e.g.:

BEGIN
  :mvddl := 'create materialized view MV_FOO_BAR
             build immediate
             refresh fast on commit
             ...
            ';
END;
/

相关问答

更多
  • 首先,从Oracle数据库数据仓库指南开始 : 使用仅连接的物化视图上的快速刷新限制 ... FROM列表中所有表的RowID必须出现在查询的SELECT列表中。 这意味着你的陈述将需要看起来像这样: CREATE MATERIALIZED VIEW MV_Test NOLOGGING CACHE BUILD IMMEDIATE REFRESH FAST ON COMMIT AS SELECT V.*, P.*, V.ROWID as V_ROWID, P.ROWID as ...
  • 尝试这个: DBMS_SNAPSHOT.REFRESH( 'v_materialized_foo_tbl','f'); 第一个参数是mat_view名称, 第二个参数定义refresh类型。 f表示快速刷新。 但请记住这一点,它将覆盖任何其他刷新时间选项。 try this: DBMS_SNAPSHOT.REFRESH( 'v_materialized_foo_tbl','f'); first parameter is name of mat_view and second defines type ...
  • 问题在于它正在尝试执行的SQL: CREATE MATERIALIZED VIEW "MYDB"."MAGIC" ("MAGIC") AS SELECT 'MAGIC' FROM DUAL; 动态SQL应该是单个语句,不能有语句终止符/分隔符; 这是决赛; 它不喜欢。 在调用get_ddl()之前,可以通过在块中添加对set_transform_param()过程的调用来首先停止dbms_metadata包括它在DDL中: dbms_metadata.set_transform_param(dbms_m ...
  • 根据我的调查,为了使用聚合函数和快速刷新方法创建MV,你的MV和MV日志应该有特殊的结构,以便在脚本下面看到正确的MV和MV日志结构: begin dbms_advisor.tune_mview(task_name=>:t, mv_create_stmt=>'create materialized view mv1 refresh fast as select job,sum(sal) from emp group by job'); end; 然后执行以下查询以查看MV和MV日志的所需结构: ...
  • 至少有三种不同的方法可以实现这一目标: 快速刷新物化视图快速刷新物化视图可能是理想的解决方案。 插入10,000行将产生少量开销,但不需要重建任何东西; 每次提交后立即可以使用新的总计,并且检索新的总计将非常快。 缺点是快速刷新物化视图很难设置,并且有很多奇怪的陷阱。 它们适用于您的示例模式,但可能无法在更复杂的情况下使用。 示例模式 drop table my_table; create table my_table( id number not null, col1 number no ...
  • (1)当错误13600的文本引用“第二个错误消息”时,它表示堆栈中的下一个错误 - 在本例中为QSM-03112。 (2)我相信错误的原因是调用TUNE_MVIEW中的第二个参数意味着CREATE MATERIALIZED VIEW语句的全文,但是您只传递查询文本。 (3)对于多行问题,如果你使用显式的PL / SQL匿名块而不是“execute”,我期望它可以工作,例如: BEGIN :mvddl := 'create materialized view MV_FOO_BAR ...
  • 根据文档,Oracle审计可以告诉您一次配置。 配置完成后,通过“AUDIT SELECT ON {实体化视图的名称}”启用它。 审计跟踪将位于SYS模式的AUD $表中。 Oracle auditing can tell you this once configured as per the docs. Once configured, enable it by "AUDIT SELECT ON {name of materialized view}". The audit trail will be i ...
  • 我冒着'重新格式化'您的查询的自由(顺便说一句:我认为那里有一些复制粘贴错误,有些部分在最后看起来会翻倍) '布局'对实际执行时间没有影响,但它使我更容易理解你在做什么(仅仅因为我习惯了我自己的风格,我并不是说它更好,而是简单我习惯了) 无论如何,如果我理解正确并且没有弄乱括号,那么这应该等同于你的查询: SELECT * FROM documents this_ INNER JOIN document_treenodes treenodes14_ ON treenodes14_. ...
  • 是。 从实体框架的角度来看,物化视图是一张表格。 唯一需要注意的是,要从物化视图生成模型,物化视图必须具有可用作主键的不可空列。 Yes. From the Entity Framework's perspective, a materialized view is a table. The only caveat is that to generate the model from the materialized view, the materialized view must have a non-n ...
  • 是的,这是允许的,请参阅“主键物化视图”: 主键物化视图可以包含子查询,以便您可以在远程物化视图站点创建行的子集 和“复杂的物化观点” 如果您很少刷新并希望获得更快的查询性能,那么请使用方法A(复杂的物化视图)。 如果定期刷新并且可能牺牲查询性能,则使用方法B(简单的物化视图)。 在http://download.oracle.com/docs/cd/B10500_01/server.920/a96567/repmview.htm 在你的例子中,很可能恕我直言,这不是一个“复杂的物化视图”: CREATE ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。