Mobile phones become smarter at displaying the web. According to Google Analytics reports for several web sites, the number of visitors coming from phones grows every week. Therefore having a mobile version of the web site becomes an important business advantage. In this article I describe how to easily create a mobile version of the web site using TYPO3 and TemplaVoila. (continue reading…)
Archive for 十二月, 2010
How to enable Memcached cache in TYPO3 4.3
Types of caches in TYPO3
There are three different caches in TYPO3 4.3:
- cache_hash
This cache saves data produced by some TYPO3 functions, mainly by substituteMarkerArrayCached. This cache can be very large, it is used only if page is not cached and it does not make sense to enable Memcached for this cache. Database or file will work best. - cache_pagesection
This cache stores parsed TypoScript templates. It can be stored in Memcached but database is my personal preference for this cache. - cache_pages
This cache stores pages. This is what needs to be as fast as possible. So Memcached will be the best candidate for this cache.
(continue reading…)
MySQL的InnoDB和MyISAM对比及优化
InnoDB和MyISAM是在使用MySQL最常用的两个表类型,各有优缺点,视具体应用而定。基本 的差别为:MyISAM类型不支持事务处理等高级处理,而InnoDB类型支持。MyISAM类型的表强调的是性能,其执行数度比InnoDB类型更快, 但是不提供事务支持,而InnoDB提供事务支持已经外部键等高级数据库功能。 (continue reading…)
cmd 阻止某文件夹内写入文件
用cmd的cacls命令可以,比如你要限制的文件夹是c:\123
操作如下: 打开“开始”,选择“运行”,输入“CMD”,打开命令行窗口,在命令行窗口中输入一下命令:cacls c:\123 /p everyone:n
然后会提示你是否确定,按Y即可。
PHP中用Memcache存储Session数据
使用memcached的好处不言而喻,它不仅减少了系统访问数据库的压力,而且提高系统的反应速度。特别是做多台服务器集群 时,memcached有效的解决了session共享的问题。架构确实变复杂了一些,但应用起来却极为简便,几乎不需要修改任何程序代码,通过修改几行 配置信息即可实现。 (continue reading…)
TypoScript in 45 minutes
Table of Contents
TypoScript in 45 minutes…………………..1
Introduction………………………………………………………….3
About this document……………………………………………..3
Feedback………………………………………………………………..3
TypoScript – a quick overview………………………………4 (continue reading…)