Archive

Archive for the ‘Web Development’ Category

New Adobe Releases!

October 2nd, 2007 No comments

Two big releases today! Adobe released Flex 3 Beta 2 and Flash Lite 3. Adobe has been releasing Flex 3 Beta for testing and now releasing the new version of the beta.

Flash Lite is the flash player version for mobile devices. The new release supports FLV flash videos that might do a great impact in the mobile world. This will allow even low resource small mobile phones to play FLV video like the one youtube uses.

Developer Center Shines in New Shape

September 29th, 2007 No comments

Adobe Developer Center is now called Adobe Developer Connection (ADC). The enhanced website looks more attractive with enhanced interface for more connectivity. I haven’t time to check it well enough, but I can say it is easier to find what I’m looking for. It seems Adobe is trying to get more involved with developers community. In addition, Flex cookbook is now easier to access including many other sections unlike before where the link were scattered between pages.

To read more details about the new design, read this article.

Categories: Flash/ActionScript/Flex Tags:

Silverlight First Impressions

September 28th, 2007 No comments

Thinking to start doing Silverlight? This LONG article by Jesse Randall explains his first impressions on using Silverlight and what he thinks about Silverlight. It is so long that I couldn’t read it all with my given free time. He also shows the difference between Silverlight 1.0 and 1.1 and their relation with .NET technology.

Categories: SilverLight Tags:

Flash Player September Penetration

September 26th, 2007 No comments

Flash player September penetration number is now up on Adobe’s website. Flash Player 9 has jumped from 90.3% last month to 93.3% this month. Flash Player 8 and 7 are on 98.1% worldwide.

Flash Player is still on the lead

Categories: Flash/ActionScript/Flex Tags:

3 Things About Cookies You May Not Know

September 25th, 2007 No comments

Novice web developer, I highly recommend reading this article. It explain 3 important points about cookies. Many web developer doesn’t know some of these points including me.

Categories: General Web Development Tags:

Flex or Flash?

September 25th, 2007 No comments

A new post in neatfilm blog about when we should select Flash and/or Flex. He starts with arguing about Creativity, Development Speed, Performance, and Testing of both technologies. The article ends up with pros when we select Flash, Flex or both technologies.

Categories: Flash/ActionScript/Flex Tags:

Whip Up a Yahoo! Mashup Using PHP

September 23rd, 2007 No comments

Tutorial by Akash Mehta on how to create a simple mash-up using Yahoo service APIs. Service used on this tutorial are Yahoo Maps and Local Searches. This will give you the practice you need to get started with mash up world of Web 2.0. However, you’ll need basic knowledge of PHP5.

Categories: PHP Tags:

PDF embedded within HTML page

September 22nd, 2007 26 comments

Many web developers are missing the fact that PDF files can be embedded within an HTML web page. Just like how QuickTime movies, Flash, MPEGs, and WAV files can be embedded into an HTML document, PDF documents can be used in the same way. That gives both, the developer and the user, many advantages and flexibility.

Nowadays, a common use of PDF through the internet is clicking on a hyperlink which directly links to a PDF file. The user can then download the PDF file or open it through the internet explorer. Embedding PDF through the web page can be flexible in some situations. For example, generating a PDF file to show dynamic data that change in time, like comments and news. In addition, embedding PDF functions like a normal PDF file opened in Adobe Reader with its numerous interface options available to be used in the web page. You’ll see more of this method features and advantages on this article as we go on.

One of the problems with embedding a PDF file is that it can strain users’ computer resources. File size is also another problem that can slow page loading.

HOW TO

First you’ll need to know how to convert a document into PDF file. Adobe has an online tool to convert many types of documents into PDF. You can try it for free.

Here is first example,<embed src="file1.pdf" width="500" height="650"></embed>

We used the <embed> HTML tag to embed a PDF file into a web page. The property src is used to set the location and the name of the PDF file. Relative or absolute URL can be used here just like images. The width and height property sets the display width and the height of the document. You can also use pixel or percentage (e.g. 90%) here just like image sizing or tables.

If you are like me and want your code to meet the XHTML standard – It’s not like I’m OCD – then you better use the <object> tag instead. <object> also helps on downloading Acrobat Reader if it is not available on user’s machine.

Just a note, <embed> is not an XHML standard, although it is supported by many browsers. It was created by Netscape as a method to embed players in browsers and then many browsers adopted it.

Here is an example on using object:

<object type="application/pdf" data="file1.pdf" width="500" height="650" ></object>

The type property – indicates the MIME type – helps identifying which program is suitable for this file. A list of some MIME types used on this property available here. The data property is the location of the file. The width and height properties are to set the width and height of the document respectively.

Between the opening and closing tags you can add anything as an alternative if the browser do not support <object> or cannot find its program. For example, you can add the link to the PDF file if it cannot be viewed in the page:

<object type="application/pdf" data="file1.pdf" width="500" height="650" >Click <a href="file1.pdf">here</a> to view the file</object>

You can use anything between the two tags to show. We used a link on the previouse example to open the file normally if it cannot be embedded. You can use a nested object (object inside object) or anything.

Thanks to adobe, they gave us the flexibility on choosing the what to display on the PDF document just by coding. By passing parameters when loading the PDF we can do that changes we want.

The most common 3 parameters are:
toolbar – to show the toolbar in the embedded document. 1 = show, 0 = not show
navpane – to show the navigation bar in the embedded document. 1 = show, 0 = not show
scrollbar – to show the scroll bar in the embedded document. 1 = show, 0 = not show

Here is a list of all parameters

Here how to use those parameters:You can use those parameters in any combinations and they also work in object tag.
file1.pdf#toolbar=0 &scrollbar=0
file1.pdf#toolbar=0
file1.pdf#navpanes=0&scrollbar=0 &toolbar=0

Just don’t forget the & symbol between the parameters and the # symbol at the end of the file name.

Note that in full screen mode, the PDF will display in full screen inside the defined region only, not full screen within the web browser or within the whole monitor screen.

Sponsor Text
The BSCI 642-901 test will verify that the winning candidate has significant knowledge and skills needed to use advanced IP addressing in addition to routing in applying scalability for Cisco ISR routers linked to LANs and WANs. 220-601 test format is linear format which is computer-based test. 1Y0-259 study guides offer a variety of support to help improve professional skills and knowledge. SY0-101 involves a methodical working knowledge of TCP/IP networking is entirely critical for achievement on the Security+ test. Candidates for 70-620 should have knowledge of determining issues related to network connectivity.

Kevin Lynch Flashforward Boston Interview

September 21st, 2007 No comments

Aral Balkan made an interview with Kevin Lynch, a Chief Software Architect at Adobe. TAlks about Flash, AIR, and relation with iPhone.

Categories: Flash/ActionScript/Flex Tags:

Creating an Ajax Chat Client from scratch in 8 minutes

September 20th, 2007 No comments

Thomas Hansen‘s new vlog tutorial on creating Ajax chat application. Here is the post

Categories: Ajax Tags: