Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一般是在本地开发php应用,然后用ftp上传到服务器。我正在研究 appfog 作为替代方案,但我想在 localhost 上设置开发环境并使用与登台和生产相同的数据库。这是可能的还是我必须使用其他服务来托管我的数据库并使用 appfog 进行部署。
如果您已经在为您的应用程序使用托管数据库服务,那么您可以在本地和生产服务器上使用相同的数据库。AppFog 上有许多可用的绑定。
但是如果你使用 SQLite,你应该考虑使用持久数据库解决方案。不建议在 AppFog 的生产环境中使用。每次你更新你的应用程序时,你的 SQLite 数据库都会被吹走。
由于 AppFog 数据库无法从外部访问,因此您必须通过隧道进入它们。您将在此处找到更多信息:
http://blog.appfog.com/how-to-manage-your-appfog-database-from-your-desktop-on-the-other-side-of-the-world/
我有一个 XSLT 2.0,它将 xhtml 表转换为 InDesign XML 表。此 XSLT 计算下面模板 ( )中每行第 7 行中的最大<td>元素数。<tr>max(for $td in //tr return count($td/td))
<td>
<tr>
max(for $td in //tr return count($td/td))
&l
我正在使用 eclipse(juno 和以前的版本)来编写 JSF 代码。这些页面都是xhtml。每隔一段时间我需要添加javascript。当我这样做时,我必须使用 CDATA 标记,否则当我有某些字符(如 > < &)时 xhtml 无效。
无论如何,该解决方案运行良好,直到我告诉 eclipse 格式化代码,此时它删除了