2006年01月09日 星期一 11:32
implements portal sytle template if I have some apps like calendar, event, etc , and I want a Frontpage that combine all the app in one template, how ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060109/46e20df8/attachment.htm
2006年01月09日 星期一 17:32
I think use component base solution will be much better than template in your case. since you might use calendar, events not only in frontpage, but also in other web pages. just make calendar, events... as single object, which has its own template, program logic, data acess layer. When rendering frontpage, dynamiclly combine all the needed object, generate the result page. 2006/1/9, Albert Lee <hanzhupeng at gmail.com>: > > implements portal sytle template > > if I have some apps like calendar, event, etc , and I want a Frontpage > that combine all the app in one template, how ? > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060109/951e4ee0/attachment.html
2006年01月09日 星期一 17:40
Yes, I have made a demo program and it works. I use the component method. 2006/1/9, Devin Deng <deng.devin at gmail.com>: > > I think use component base solution will be much better than template in > your case. > > since you might use calendar, events not only in frontpage, but also in > other web pages. > > just make calendar, events... as single object, which has its own > template, program logic, > data acess layer. > > When rendering frontpage, dynamiclly combine all the needed object, > generate the > result page. > > > > > 2006/1/9, Albert Lee < hanzhupeng at gmail.com>: > > > > implements portal sytle template > > > > if I have some apps like calendar, event, etc , and I want a Frontpage > > that combine all the app in one template, how ? > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > -- 欢迎访问我的小站: http://www.2tuzi.com blog : http://blog.2tuzi.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060109/e090f565/attachment.htm
Zeuux © 2025
京ICP备05028076号