Showing posts with label Web Development. Show all posts
Showing posts with label Web Development. Show all posts

Monday, January 3, 2011

Which Browser Do You Use for Web Development?

Source: http://blogs.sitepoint.com

The browser landscape has changed significantly during the past decade. There was little choice 10 years ago — you needed to develop and test your code in IE (or Netscape 4 if you were really unlucky). Then Firefox became the developer’s weapon of choice 5 years ago: it offered the best debugging tools and prompted the rise of Web2.0 applications.

Today, the situation has vastly improved and you lucky developers are spoiled for choice:

  • Firefox still has the widest range of tools and web development add-ons.
  • Safari and Chrome offer the webkit inspector and, if that’s not enough, decent extensions are appearing in Google’s browser.
  • Opera has DragonFly, one of the better JavaScript consoles, and a number of web developer widgets.
  • Finally, IE8 provides capable Developer Tools and some add-ons which may help your coding efforts.

But which is the most widely-used web development browser in 2010? I suspect Firefox will retain the crown, but Chrome’s popularity is increasing rapidly. Others swear by Opera. Does it makes sense to use IE if you’re developing corporate intranet applications?

Please cast your vote on the SitePoint home page and leave your comments below. Which browser makes your daily development duties more bearable?

Monday, December 27, 2010

Visit Now: www.WaqarAttari.com --- Pakistan's # 1 Freelance Business Partner.

 

 waqarattari-logo-Horizontal

www.WaqarAttari.com

Pakistan's # 1 Freelance Business Partner.

Facebook Page:

About Waqar Attari

He is a twenty-five year old Software Engineer, lives in Pakistan in the province of Sindh. He is completing Masters in Software Engineering. He is a perfectionist who loves software engineering from simplicity to complexity. He started playing with software technology years ago and always tries to improve his ability to remain faithful to clients.

He is constantly striving to improve himself and of his powers, which identifies the equilibrium between creativity and design.

Our Services

  • Customized Software
  • Web-Based Solution
  • Web Designing
  • eCommerce Solutions
  • Business Process Outsourcing Services
  • Advanced Infrastructure Design and Implementation
  • Integrated Application Design and Deployment
  • Technology and Business Consultancy
  • Human Resources Management (HRM)
  • Business Solutions (ERP/CRM)
  • Solution Designing, Development and Implementation
  • Outsourcing Services
  • Enterprise Application Integration
  • Business Intelligence and Data Warehousing
  • Integrated e-Business Solutions
  • Mobility Solutions

What do we do?

We provide a wide range of offshore software development services: from custom website design to developing business solutions which demand complex software programming and custom programming services. We keep its specialist well informed about the latest trends on the market and newest technology. We provide our customers with high-end internet products.

We are constantly improving our knowledge and expanding our services to provide our customers with the highest level of professional help for their projects.

How do we work?

Working on software development services, we deliver only the highest quality products. Our offshore software development defines the clients' goals and collects requirements for the proposed software, writing specification, object-oriented analysis (OOA) and object-oriented design (OOD). The specialists gather all the necessary information utilizing common design patterns and thoroughly testing the software applications. we spend a lot of time to determine the appropriate functional and welcoming interface. Our approach allows us to offer efficient applications in many fields and for a wide variety of platforms.

Friday, March 26, 2010

Loading pages in IFRAME dynamically from codebehind - ASP.NET

Written By : ranganh

Most of us who develop Web Applications would have used an IFRAME during some stage of our lives. IFRAME's are an easy way by which you can embed another page within your original page such that you can show some important information like Stock position/Weather from another site without worrying about the changes happening to that site and updating the same. The Frame can also be used to show another page from your own application.
ASP.NET also provides the option to have an IFRAME in our ASPX Pages. It can be with/without the "runat=server" attribute and does serve the purpose of embedding the page. The source for the frame can be set as follows:-

<IFRAME id="frame1" src="SourcePage.extension / URL of the external Site" scrolling="auto">
</IFRAME>


However, in practical scenarios, we may want to load the page dynamically. In other words, we may want to specify the "src" attribute (the page which we want to show), dynamically. There is no straight forward way to do that and even if you add a "runat=server" attribute to it (though required in the work around provided below), you cannot access the "src" property directly.
The workaround to do that is as follows:-
1. Specify the "runat=server" attribute as follows in the ASPX Page:-

<IFRAME id="frame1" scrolling="auto" runat="server">
</IFRAME>

2. In the codebehind, you may need to declare a HtmlGenericControl in the control declarations section as follows:-

C#

protected System.Web.UI.HtmlControls.HtmlGenericControl frame1; (not required if working with ASP.NET  2.0, 3.5 i.e. Visual Studio 2005, 2008)

VB.NET

Protected WithEvents frame1 As System.Web.UI.HtmlControls.HtmlGenericControl(not required if working with ASP.NET  2.0, 3.5 i.e. Visual Studio 2005, 2008)

3. Then, you need to do a findcontrol to identify the control on the page and typecast it as follows:-

C#
HtmlControl frame1 = (HtmlControl)this.FindControl("frame1"); (not required if working with ASP.NET  2.0, 3.5 i.e. Visual Studio 2005, 2008)

VB.NET

Dim frame1 As HtmlControl = CType(Me.FindControl("frame1"), HtmlControl) (not required if working with ASP.NET  2.0, 3.5 i.e. Visual Studio 2005, 2008)
Note: You can have different name for the Generic Control you define in the code behind, but for ease I keep both the same. The "frame1" referred in Find Control is the ID as declared in the ASPX Page.
4. Thereafter, you will be able to access the src property as follows:-

C#
frame1.Attributes["src"] = "http://www.live.com" ;


VB.NET

frame1.Attributes("src") = "http://www.live.com" ;

NOTE: Thanks PhOeNiX for providing the VB.NET equivalent.  I have added the same now.

As you can see though I have hard-coded the URL you can assign it dynamically based on a condition or any other business logic.
This serves the purpose of dynamically loading the page in the IFRAME.

A related article on Triggering an event in the Parent Page from within Page inside IFRAME

Cheers !!!

Sunday, April 26, 2009

jQuery HowTo's |How to get started

 e-Book (Learning jQuery 1.3 Paperback)

Starting with jQuery needs three basic steps:

  1. First, download jQuery and store it in a location your web page can access. Download the latest version here.
  2. Include jQuery into your HTML page.
  3. Make use of jQuery's functionality.

A sample web page might look something like this:

<html>
<
head>
<
title>My first jQuery</title>

<
script type="text/javascript" src="path/to/jquery.1.2.1.pack.js"></script>

<
script type="text/javascript">
//this is jQuery code
$(document).ready(function () {
alert("I came from jQuery!");
});
</script>

</
head>
<
body>
<
h2>
jQuery sample</h2>
</
body>
</
html>


 



The jQuery code you decide to use depends on your needs. The rest of the How-To's on this page help to highlight what can be done. These are more simplistic examples though. Please visit the jQuery documentation or the jQuery mailing list for more details. The more advanced things you see jQuery do are usually a combination of the basics though.



A note about the different jQuery files.

jQuery tries to accomodate all types of developers. Those who want to get their hands dirty and explore jQuery's inner workings should download the uncompressed version of the jQuery library. All others probably want to use the packed version as this has the smallest footprint that is supported by all browsers. The packed version removes all extra spaces and comments to compress the library, and then encodes it to make it even smaller. The minified version of the library does the same, except it does not encode it.

Friday, April 24, 2009

Jquery

e-Book (Learning jQuery 1.3 Paperback)

jQuery is great in many ways. You probably first heard about the framework when browsing through a showcase of beautiful “ajax” scripts and became impressed with how easy it can be used to create advanced and delightful effects. But jQuery is much more than that. After you’ve seen all the fancy slides and animations and got to know the framework, you realize that it can do much more to assist you in building advanced, content-driven web sites and applications.

Here is a hand-picked list of useful jQuery scripts and utilities, created to make your web development easier. You won’t find any fancy slides or animations in here, instead I have compiled a list of the best, most well-written and useful jQuery components on the web that I would use myself.
Am I missing something? Let me know in the comments.