Posts tagged PHP
I am going to Adobe MAX to MIN (Blog Entry for MAXUP)
0MAXUP Barcamp
Ben Watson’s We Demo You Going to MAX
Well… The title seems stupid but the actual meaning is not. I am going to Adobe MAX to learn more from the conference and from the other participates. (Of course I will share, in case I am not the least knowledgable one in the event) With that knowledge I can develop even more applications (mainly open source~ nah), so that all the users can minimize their effort, their pain, their time in making great works. That is why I am going to MAX to MIN~
Okay~ Is time talking back the application that I have done in previous year. My application is called FLABER (FLAsh-based web BuildER), it is a pure Flash RIA scripted in ActionScript 2 with PHP as server support. In short, this application allows web owners to easily build a website using Flash technology even if they don’t know how to program in Flash. We have done a testing that even a 10 years old girl can make up her own Flash web site.
Originally this project is started as my final year project in City University of Hong Kong. (in other words… homework…) Since the first public release in SourceForge, I received many great feedbacks from the public. That is why I made FLABER now as an open source product so that everyone can benefits from it.
Okay~ too many words… here comes some screenshots.
The following shows a web that I made using FLABER.

Actually it looks like a normal web page but it have on stage controls.

For larger images and details, please do a visit to the FLABER Wiki
Of course a live-demo is also available here.
Actually there’s more for FLABER, that is FARSER (Flaber-xhtml pARSER). This is a PHP program written by one of my friend Tim SHIU. The function can be easily guessed using the program name. It can turn any web done by FLABER into W3C valid XHTML documents with single click~!
You can experience yourself right here
Well~ I hope everyone will enjoy using my application~
P.S. A new version is on-the-way coding from zero using ActionScript 3. And of course, I will use any more advanced technologies that I learned in Adobe MAX.
And here comes my portrait~ captured in Osaka, Japan.

Adobe MAX 2006 Scheduler
0其實應該尋晚 post 出黎~ 不過太夜所以今日先 post
Budget 既問題困擾左成個幾禮拜總算告一段落
所以都正式 register 左 Adobe MAX~
reg 完之後第一件事就係要用佢地 provide 既 scheduler 黎排 session
唔睇都唔知… 差唔多有一百種唔同既 session 可以 reg…
由 acrobat -> breeze -> dreamweaver -> flash -> flex -> xml
再由最簡單既 get started -> intermediate -> advanced
總之就乜都有咁啦~~!! 揀到我傻傻地….
排完之後感覺係…. 仲慘過上堂…. 哈哈~~
當然啦~ 上 Flash-related 既野點都精神好多既~
依家既 schedule 如下
Combining Flex with PHP and Open Source
Best Practices for Developing Flash Applications
Building RIAs with Flex Builder
Improving ActionScript 3 Performance
Design Patterns in ActionScript 3
Understanding Security in Flex and Flash
User Interface Design with Flash
Delivering RIA solutions with Cairngorm 2
Getting Started with Apollo
Techniques for Integrating Flash contents and Flex applications

其實仲有兩個月~ 所以都仲會有好多變動~~
總之今次就一定係好好既學野機會啦!!
聽朝再講 MAX Event 既 inter-network application
Local FLABER and plugin
0After the release of 1.0 RC3, originally I have planned to start the development of 1.1.
However due to the great needs of the plugin docking section, RC4 will be out soon.
Plugin is a very large part in FLABER.
Because it allows others to develop their own things and then plug into FLABER.
So I have spend quite much time in planning how this one should be implemented.
After some discussions with my 2 great advisor Tim and Chris,
I have a very brief outline right now in my mind.
Later you will know how the logic works
Chris is also helping me in another stream of FLABER, that is the local running possibility.
This means that FLABER will have two version in the future.
One will require a PHP server to run, while another one can run locally.
In this way, users can use FLABER offline and then upload after finishing development.
The local one will probably make use of C# as the local programming language.
Research is in the progress on how C# and Flash can communicate.
繼續學會去輸
0呢一段時間裡面最大件事都莫過於 web usability 個 assignment 得 55 分…
講真我開頭知道做唔到 top 10 已經好著緊點之知道 d 分之後直頭呆左
之後自己 email Sigma (web 的 grader) 問佢點解佢第一句就話
“First, it is very important you need to know, the report is 90% of the total marks, while the web page is only 10%”
跟住佢仲極之詳細咁解釋比我聽… 真係有 d 感動
當我知道自己衰 d 乜之後即刻開心返晒 XDDD
我就係咁奇怪既人… 我唔怕衰
最緊要衰得明明白白
好彩 mid term 拉返高晒者 (好似係 top tim… ccc)
今日 exam 都考得唔錯希望拎返隻 A 仔啦~~!!
FYP 進度繼續因為各種原因拖慢
不過總算將我自己覺得最難o個 part 寫完
依家我已經成功做到一個 Flash 能夠透過 PHP 寫得出一個 XML
而呢個 XML 又能夠食入另一個 Flash 入面從而做到一個 naviagtion menu
下一步就係將第一 part Flash -> PHP o個 part interactive 化從而做到 WYSIWYG editor~
Blog Talk 2 – How to Implement Consistent Framework
0I think all of you have done the redesign assignment already and starting to write the report. When you are redesigning the web, I think most of you may have faced a certain problem in mind that is how to make all the pages consistent? As all the pages will have the same html opening tags, meta tags, linking of the style sheets, header navigation bar and the footer copyright declaration part. If I simply copy and paste it to every page, it is time consuming and not easy to maintain in the future. So I want to introduce a few methods here.
—————————————————————
1. Frames
I think I don’t need to talk too much about frames, it is just a standard HTML tag that is easy to implement. It will divide the screen into areas which each area will load it’s corresponding page.
The advantage is that it is server independent, any web hosting services can run it. However there are a bunch of problem using frames to achieve consistency which are shown below.
- Browser don’t know what to bookmark
- Opening the source will open the frameset but not the page
- Search engine will have problem crawling the pages
—————————————————————
2. Client Side Include
Include means that you will insert one page (in here HTML) into another one. For example, you may have a navigation menu which will appear in every page. So you can simply include the navigation menu page into every pages of your web site to achieve consistency. In here client side include means the include process is done on the client side which can be achieved using JavaScript.
Here is the JavaScript example:
<script type="text/javascript">
function print_header ()
{
var elem = document.getElementById (”header_content”);
elem.innerHTML = "<table><tr>...</tr></table>";
}
</script>
<span id="header_content"></span>
The advantage of using client side include is that it is server independent just like frame. Any browser which supports JavaScript will work. However there are a few disadvantages as below.
- Destroying HTML structure (if you look at the JavaScript structure, you can see that it is some sort of program and strings instead of standard HTML)
- Hard to maintain
- Search engine won’t be able to crawl because it is made at client side
—————————————————————
3. Server Side Include
In contrast, server side include is done by some server side scripting. It can be some simple ones like the SHTML or some complicated ones like PHP, ASP or JSP. The pros of server side include is that it can totally eliminate all the disadvantages in the previous methods. However the main disadvantage is that it is server dependent, and it is sad that CityU personal web do not support these.
The example of SHTML is illustrated below:
=> index.shtml
<!–#include file=”header.html”–>
<body>
……
</body>
<!–#include file=”footer.html”–>
=> header.html
<!DOCTYPEhtml PUBLIC “-//W3C//DTD XHTML 1.1//EN”"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”zh-tw”>
More resources and tutorials
How do I include another file inside a HTML file?
How do I include one HTML file in another?





