http://www.eldetonador.com/hunt/antibiotics-without-a-doctorcomprar alli onlineclickciprofloxacin 500mg to buyhttp://www.eldetonador.com/hunt/500-mg-flagyl-cheapestherehttp://www.eldetonador.com/hunt/nolvadex-come-in-60-mgbuy viagra online cheapmethotrexate without prescriptionviagra poppers ukhttp://www.eldetonador.com/hunt/periactin-pills-online-without-a-rxpharmacy online cialis worldwidehttp://www.eldetonador.com/hunt/antabuse-online-no-prescriptionpropecia msdlavitra for sale

adminSave Environment- Go Paperless, Go Digital

February 3rd, 2010

From the desk of President & CEO, All1Source Technologies

I have been in the IT industry for more than 17 years & purely in to Internet media & technology business from over 10 years. But during this so long time being always with computers & various technology equipments & building over 1000+ websites, surprisingly I never asked this question to myself- What is our social contribution to the world?
I am excited & equally proud to get the answer from my insight today.

SAVE ENVIRONMENT- Go Paperless, Go Digital, Go Green

Use technology to its fullest because technology helps you saving our mother nature. The mantra- Go paperless helps in saving trees. Go Digital way cuts the paper use drastically. We as a educated people should always promote & encourage use of e-Mailing, e-Greetings, e-Cataloging, e-Statements, all possible “e’s” can save our mother nature.

I got up early & reached office & assembled my team members & we together took an oath- “From today onwards we will not only be selling our services as a responsible web developers but we will be heavily promoting & pushing our all digital services to the people across the globe. We will work tirelessly for saving our environment & making the cheapest possible solutions, products & services available to the human beings across the world. This will be our prime duty to make ourselves available for each & everyone who is supporting & accepting digital way of life. GO GREEN!!….Go Digital”

Save Environment- Go Paperless, Go Digital…..

All1Source- Building Digital Community across the globe….

Tags: , , , , , ,
Posted in Company Activity, Editorial, Expert's Opinions

SteveManorGoogle Hacking evolve (alert system)-

August 3rd, 2010

Google hacking is getting a reboot. Researchers dig through the search engine with specialized queries in order to locate vulnerabilities on websites.

At the Black Hat security conference, researchers Rob Ragan and Francis Brown from security firm Stach & Liu, detailed their new efforts for hacking both Google (NASDAQ: GOOG) and the Microsoft (NASDAQ: MSFT) Bing search engine. The new tools and techniques are intended to provide a rapid alert system for enterprises to help identify risk within their organizations.

The GoogleDiggity and the BingDiggity projects, these are the tools that enable users to perform security research with pre-built query strings to locate common vulnerabilities. The GoogleDiggity tool uses the Google AJAX API and Google’s custom search to deliver results.

Ragan noted that back in 2004, researcher Johnny “I Hack Stuff” Long created a Google Hacking Database, which included queries that could be used to detect potential security issues. Ragan and his colleagues are now using a similar idea to build a Bing Hacking Database for vulnerability search queries using Microsoft’s search engine.

Brown noted from an enterprise scalability perspective that it’s not practically feasible for companies to periodically Google hack themselves. But for an enterprise, it is important to have a way of knowing when they have some kind of vulnerability or information leakage as soon as possible, he argued.

The researchers have leveraged their Google hacking work to create search-engine-powered back alerts. The approach is similar in scope to the Google Alerts system in which users select a keyword and are then sent emails or RSS updates whenever new instances of that keyword are found.

Ragan said, “What we did is we imported our hacking query database into Google and Bing hacking alerts”. “So we’re looking at over 2,300 queries and getting updates via RSS as they happen.”

Brown noted that the hack alerts system will be made available as an OPML file so that others can simply import the RSS feeds into a feed reader.

In an effort to help enterprises scale and customize the hack alerts, Ragan said that his team is working on a Google desktop gadget as well.

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , ,
Posted in Database, Technical News

LolaTheriotTop Mistakes That Turn Website Design Worthless

August 3rd, 2010

A website design means to attract and involve online users and finally give them good reasons to purchase the products and services available on the websites. A badly designed websites fails to achieve the above-mentioned goals for a business website.

Reason behind the bad web design is the selection of an inexperienced website design company. A good web design and website development company takes care of things that turn a website design bad. Some of the common mistakes that lead to useless website design, but taken care of by an expert website design.

Distracting Backgrounds-
Backgrounds are meant the professional backdrop to a website that can attract the online users and involve them. A bad website design has background that distracts or displeases the visitors and makes the text difficult to read. Moreover, the images used a backgrounds make the websites difficult to load.

Inappropriate Text Style-
For the visitors, the information displayed on a website is the best medium to know about it. A badly designed website has font too small or too big to read out. Underlines and bolded paragraphs and use of italics too frequently too make the website design bad.

Use of Animations-
Animations are not meant to be used excessively in a website design. These blinking text and animations often steal the efficacy of a website. And an expert web design company makes less use of such features so that a website has professional look and feel.

Interrupting Music-
Most disastrous aspects of a website design is the ‘Background Music’. The automatic music played in loops and on every web page is definitely a part of the bad web design. It reduces the interest of online users in your website.

No HTML Validation-
HTML validation is an important thing to do with a website design. It needs proper validation as without it, your website has fewer chances to get indexed in the search engine results. Moreover, such websites have slow loading pages.

Opening New Windows

Non-Alignment of Different Elements

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , , , ,
Posted in Company Activity, Purely Technical

LolaTheriotRelease: MVC 2 Editor Template for Radio Buttons

June 8th, 2010

How to create an HTML helper to produce a radio button list? Here, the HTML helper was “wrapping” the FluentHtml library from MvcContrib to produce the following html output (given an IEnumerable list containing the items “Foo” and “Bar”):

   1:  <div>
   2:      <input id="Name_Foo" name="Name" type="radio" value="Foo" /><label for="Name
_Foo" id="Name_Foo_Label">Foo</label>
   3:      <input id="Name_Bar" name="Name" type="radio" value="Bar" /><label for="Name
_Bar" id="Name_Bar_Label">Bar</label>
   4:  </div>

MVC 2 has released, providing an editor template that can be used as it rely on metadata, which allow us to customize the views appropriately.  For example, for the radio buttons above, we want the “id” attribute to be differentiated and unique and we want the “name” attribute to be the same across radio buttons so the buttons will be grouped together and so model binding will work appropriately. We also want the “for” attribute in the <label> element being set to correctly point to the id of the corresponding radio button.

The default behavior of the RadioButtonFor() method that comes OOTB with MVC produces the same value for the “id” and “name” attributes so this isn’t exactly what I want out the box if I’m trying to produce the HTML mark up above.

If we use an EditorTemplate, the first gotcha that we run into is that, by default, the templates just work on your view model’s property. But in this case, we *also* was the list of items to populate all the radio buttons. It turns out that the EditorFor() methods do give you a way to pass in additional data. There is an overload of the EditorFor() method where the last parameter allows you to pass an anonymous object for “extra” data that you can use in your view – it gets put on the view data dictionary:

   1:  <%: Html.EditorFor(m => m.Name, "RadioButtonList", new { selectList = new SelectList(new[] 
{ "Foo", "Bar" }) })%>

Now we can create a file called RadioButtonList.ascx that looks like this:

   1:  <%@ Control Inherits="System.Web.Mvc.ViewUserControl" %>
   2:  <%
   3:      var list = this.ViewData["selectList"] as SelectList;
   4:  %>
   5:  <div>
   6:      <% foreach (var item in list) {
   7:             var radioId = ViewData.TemplateInfo.GetFullHtmlFieldId(item.Value);
   8:             var checkedAttr = item.Selected ? "checked=\"checked\"" : string.Empty;
   9:      %>
  10:          <input type="radio" id="<%: radioId %>" name="<%: ViewData.TemplateInfo.HtmlFieldPrefix 
%>" value="<%: item.Value %>" <%: checkedAttr %>/>
  11:          <label for="<%: radioId %>"><%: item.Text %></label>
  12:      <% } %>
  13:  </div>

IN the above code, there are several things that to be noted. First, you can see in line #3, it’s getting the SelectList out of the view data dictionary. Then on line #7 it uses the GetFullHtmlFieldId() method from the TemplateInfo class to ensure to get unique IDs. We pass the Value to this method so that it will produce IDs like “Name_Foo” and “Name_Bar” rather than just “Name” which is our property name. However, for the “name” attribute (on line #10) we can just use the normal HtmlFieldPrefix property so that we ensure all radio buttons have the same name which corresponds to the view model’s property name. We also get to leverage the fact the a SelectListItem has a Boolean Selected property so we can set the checkedAttr variable on line #8 and use it on line #10. Finally, it’s trivial to set the correct “for” attribute for the <label> on line #11 since we already produced that value.

Because the TemplateInfo class provides all the metadata for our view, we’re able to produce this view that is widely re-usable across our application. In fact, we can create a couple HTML helpers to better encapsulate this call and make it more user friendly:

   1:  public static MvcHtmlString RadioButtonList<TModel, TProperty>(this HtmlHelper<TModel> 
htmlHelper, Expression<Func<TModel, TProperty>> expression, params string[] items)
   2:  {
   3:      return htmlHelper.RadioButtonList(expression, new SelectList(items));
   4:  }
   5:
   6:  public static MvcHtmlString RadioButtonList<TModel, TProperty>(this HtmlHelper<TModel> 
htmlHelper, Expression<Func<TModel, TProperty>> expression, IEnumerable<SelectListItem> items)
   7:  {
   8:      var func = expression.Compile();
   9:      var result = func(htmlHelper.ViewData.Model);
  10:      var list = new SelectList(items, "Value", "Text", result);
  11:      return htmlHelper.EditorFor(expression, "RadioButtonList", new { selectList = list });
  12:  }

This allows us to simply the call like this:

   1:  <%: Html.RadioButtonList(m => m.Name, "Foo", "Bar" ) %>

In that example, the values for the radio button are hard-coded and being passed in directly. But if you had a view model that contained a property for the collection of items you could call the second overload like this:

   1:  <%: Html.RadioButtonList(m => m.Name, Model.FooBarList ) %>

The Editor templates introduced in MVC 2 definitely allow for much more flexible views/editors than previously available.

Source: http://geekswithblogs.net/

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , ,
Posted in Editorial, Purely Technical

BobbyeM71hxwHow to Recover Linux Data after Hard Drive Crash?

June 5th, 2010

Is there problem with your Linux hard drive that abruptly get crashed every time when you boot your system? Or you are not able to boot your Linux computer and access data from it? The problems arise due to various reasons, causing hard drive crash.

Most commonly, the problem occurs due to missing or corrupt data structures of your Linux hard drive. Due to the same, the operating system can not locate stored files on the hard drive and access them. At this point, you need to opt for Linux data recovery solutions to get your valuable data recovered.

Symptoms that indicate the crash of a Linux hard drive: Such symptoms include the following ones:

  • Your Linux operating system-based computer does not boot up.
  • You encounter various error messages, such as “No Fixed Disk Present” or “DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER”
  • Black or blank screen after you power up your system.
  • System reboots, freezes, or stops responding frequently.
  • “Operating system not found” and “Drive not formatted” messages.

Hard drive crash can be caused by various reasons and renders entire system inaccessible. The most common reasons of Linux hard drive crash are as given below:

  • Boot sector virus or damaged MBR (Master Boot Record).
  • Corrupted or damaged file system of Linux hard drive.
  • Missing or damaged system files or operating system.
  • Virus infection.
  • Corrupt Superblock or other critical meta data structures.

In order to fix a crashed Linux hard drive and perform Data Recovery Linux, you are required to format it and reinstall operating system. This process replaces all the missing, corrupt, or damaged system resources and brings the hard drive back to life. However, it also removes all the data from hard drive and create needs of Linux recovery.

The best possible way is to recover i.e. recovery, and efficient commercial software, known as linux recovery software. They use high-end scanning techniques to carry out in-depth scan of entire Linux hard drive to extract all lost data from it.

Source: www.programmersheaven.com

http://www.all1social.com

http://www.all1sourcetech.com

Tags: , , , ,
Posted in Linux Technology

BobbyeM71hxwCHKDSK/F Fails to Fix File System Problems

May 31st, 2010

One of the most common reasons for unbootability of the computer system is the file system corruption in Windows XP. And for damage in file system, the reasons responsible for that are unexpected system shutdown (due to power outage or human mistakes), virus infection, MFT (Master File Table) damage, and more.

In order to get past the corruption issues in a Windows XP system is by executing CHKDSK/F command. This command checks the physical and logical integrity of the file system and repairs it in case of any damage.

Though the command, in most of the situations, is a life-saver, but do not guarantee 100% success in every life system corruption issue. In such cases, when the CHKDSK command fails to repair, an ideal alternative is to reinstall Windows XP and restore data from an updated backup. However, in case no backup is available, the user can easily recover data using a commercial Windows Recovery application.

Let’s consider a practical scenario that explains the above situation. You encounter the below error message at the startup of Windows XP operating system:

“C:\$MFT is corrupt and unreadable. Please run the chkdsk utility.”

After the above boot error message pops up, your system becomes unbootable and its data gets inaccessible. As suggested in the error message, when you run CHKDSK utility, you encounter another error message:

In the master file table (MFT) bitmap, CHKDSK discovered free space marked as allocated. CHKDSK discovered free space marked as allocated in the volume bitmap. Windows found problems with the file system. Run CHKDSK with the /F (fix) option to correct these.

As error message suggest, when you execute CHKDSK utility with ‘/F’ parameter, it shows the same error message. Since the system could not be started, the data saved in the Windows based hard drive remains inaccessible.

Resolution: In order to overcome the CHKDSK/F failure error message, follow the step mention below:

1. Reinstall Windows XP on your system.
2. Restore the data from an updated backup. In case no backup is available, use a commercial Windows Data Recovery utility.

Such windows data recovery tools use effective recovery techniques to perform complete recovery of all formatted files and folders.

Source: www.programmersheaven.com

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , , , ,
Posted in Database, Purely Technical

BobbyeM71hxwDynamic Open Source Languages Head to the Cloud

May 28th, 2010

For developers building applications with open source dynamic languages, the cloud is a key development area, and not just for network administrators looking for scale.

In terms of language usage, it is found that nearly 80 percent of developers are using Javascript, while both Python and Perl came in at 47 percent, PHP at 42 percent and Ruby at 31 percent

According to the director of engineering at ActiveState, Jeff Hobbs, this confirms a lot of basic hunches that dynamic languages are just increasing their usage in standard programming applications and especially in newer development such as the cloud application space.

While many developers are headed to the cloud, however it is being noted that nearly 43 percent of respondents had no plans yet for cloud development in the next 24 months.

Hobbs said, “You think about the development cycle that a large enterprises has- they can go anywhere from one year to three to five-year cycles”. For the people who have just released applications, it might still be three to five years before they can assess the value of the advantages that might be presented in the cloud.

For developers, there are a number of differences between developing for the cloud versus traditional deployment methods. Some of the differences depend on the type of cloud deployment being used.

According to principal analyst and partner at Redmonk, Stephen O’Grady, the differences with Infrastructure-as-a-Service offerings are typically things such as the APIs used to access the storage layer. “For Platform-as-a-Service offerings that tend to be far more prescriptive, the differences can be relatively extensive, from a difference in the typical infrastructure software (e.g. databases) to the implementation of the development framework.”

Hobbs noted that since the cloud virtualizes multiple elements of an application deployment stack, including the server, it makes the actual languages used stand out more than they have in the past. He added that he has seen some subtle shifts in dynamic languages that make the languages more cloud-friendly.

According to Hobbs, it’s really important that the language developers’ use already has the library and frameworks already provided and supported. The dynamic languages become an advantage to cloud app development as you’re ready to use all the pieces that you need to use and they’re abstracted in the right way.”

Challenges to Cloud Development

The dynamic programming aspects of dynamic languages allow for fast development times as well. However, there are number of challenges that still face dynamic language developers.

Hobbs noted that having the required tooling for deployment is critical. He added that concerns around security are also a barrier- one that 40 percent of poll respondents identified as an issue.

According to Redmonk’s O’Grady, the dynamic languages themselves can evolve to take better advantages of the cloud, though the cloud vendors can help out there, too.

While there are changes to the language runtimes that could improve their ease of use in the cloud, it’s more likely that changes will come at the framework layer. And it’s likely that cloud offerings, moving forward, will increasingly support event-based frameworks to better take advantage of the concurrency that the cloud offers.”

Source: www.developer.com

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , ,
Posted in Opensource

LolaTheriotHow to overcome after Blackmal virus- Hard Drive Data Lost?

May 26th, 2010

For the data to be deleted fro the hard drive, concerns the computer virus as one of the most common factor. Each and every computer virus is different and designed to harm a particular set of files.

Some of the common ways through which a computer virus can enter your system are downloading files from the Internet, attaching a virus-infected external storage media, and e-mails. Though the consequences of a virus attack vary from situation to situation, the most common outcome is permanent deletion of files.

In order to overcome the after-effects of any virus attack and access the files, the user needs to restore the files from an up-to-date backup. However, if in case no backup is available or backup is unable to restore required files, the user needs to opt for a commercial Hard Drive Recovery Software that can perform recovery of deleted files.

The list of computer virus is too long but the most common one is ‘Blackmal’ virus. This virus has till now infected more than 6,00,000 computer systems and resulted in huge data loss. The virus is competent enough to permanently delete eleven varied file types on the third of every month.

The virus is programmed to delete files not only from the system’s hard drive, but also from network-attached storage.

Prevention: To prevent the attack of Blackmal virus, you will need to follow the below mentioned prevention tips:

1.Always keeps an updated anti-virus installed on your system.

2. Always scan the external storage media before attaching it to your system.

3. Always scan an e-mail (specifically with an attachment) using an anti-virus application.

In case, the above prevention tips are not followed and your different file types have been deleted, then you will need to follow the below steps:

Restore the files from an adequate backup.

In case of failure of the restoration process, you will need to recover the files using an effective third-party Hard Drive Recovery Software.

A Hard Drive Recovery utility is a powerful utility that can scan virus infected media and recovers all lost files after virus attack. The tool is built with self-explanatory user-interface and needs no prior technical knowledge to perform recovery.

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , , , ,
Posted in Editorial, Expert's Opinions

BobbyeM71hxwKnow- how to resolve ‘IN_PAGE_ERROR’ running Microsoft Office Setup

May 24th, 2010

File system and hard disk issues can be due to a variety of problems, which includes power outages, improper system maintenance, virus infection, human errors, hardware problems, etc. When this type of problems occurs, then the consequences are directly reflected in operations like installing a new application, accessing an existing file or folder, repairing the existing installations, and many more. Thus, one can easily analyze the file system corruption. And In worst cases, you might need to reformat the entire hard drive partitions and seek the help of Partition http://www.all1tunes.comRecovery tools, especially when no data backup is available.

Let’s check out the problem, which can occur when trying to set up or repair Microsoft Office on a Windows hard disk. Specifically, when you attempt to repair or install Microsoft Office 2002 (XP), Microsoft Office 2003 or Microsoft Office 2007, the setup may exit silently without notifying or displaying any error message on screen. For say, when you try to install or repair Office, it prompts you to specify the Product Identification key, but exits unexpectedly.

For typical Office setup failure, you can examine the associated log file, which is created by Office Setup in \Temp folder in .txt format. This file might contain one of the below or similar log entries with different module and function:

Exception code: C0000006 IN_PAGE_ERROR Module: C:\WINDOWS\System32\msi.dll Function: 0x7642452f

Or

Exception code: C0000006 IN_PAGE_ERROR Module: C:\WINDOWS\system32\IMAGEHLP.dll Function: 0x76c94afa

The depicted problem, as mentioned, is generally the result of file system damage or hard disk problems. Thus, to resolve the problem, consider implementing the solutions mentioned underneath:

‘Analyze’ and then ‘Defragment’ the hard disk using Disk Defragmenter tool. To do so, you must have administrative rights to access the partition/volume.

Repair the disk using Autochk.exe, Chkdsk.exe,, and Chkntfs.exe tools. If the problem persists, reformat the hard disk and restore the deleted data from backup. Use a Partition Recovery Software than any kind of backup issues.

Use of a Partition Recovery utility allows to scan the logically crashed hard disk and restore the lost/deleted partitions in just few simple steps.

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , , ,
Posted in Microsoft Technology, Purely Technical

BobbyeM71hxwCreating Complex, Secure Web Forms with PHP and HTML_QuickForm2

May 22nd, 2010

For PHP developers, HTML_QuickForm2 PEAR package provides a programmatic interface for rigorously defining form controls, value requirements, and user notifications. Using HTML_QuickForm2 helps these developers create usable and secure Web forms without sacrificing visual appeal. This solution takes much of the guesswork out of secure forms development, allowing you to create robust forms with minimal time investment.

It will show you how to take advantage of HTML_QuickForm2 to streamline the creation and validation of complex HTML forms.

Installing HTML_QuickForm2

HTML_QuickForm 2 is a PEAR package, meaning you can install it using the PEAR package installer. Presuming you’re using the original installer, execute the following command to install HTML_QuickForm2:

%>pear install –onlyreqdeps HTML_QuickForm2-alpha

When installed, you can begin programmatically creating your forms.

Creating a Form with HTML_QuickForm2

HTML_QuickForm2 is the second incarnation of the aptly-named HTML_QuickForm, rewritten from the ground up to take advantage of the object-oriented (OO) features in PHP 5. Therefore, if you’re not familiar with the OO development approach, it will take some time to get acquainted with the syntax because forms are created using a rigorous class structure.

Let’s see these examples that hopefully will help elucidate how you can use HTML_QuickForm2 is to create increasingly complex forms.

Figure-1:

Figure 1. Creating a Simple Form with HTML_QuickForm2

The form in Figure 1 can be created using approximately 25 lines of code, as shown below.

<?php
 require_once "HTML/QuickForm2.php";
 require_once 'HTML/QuickForm2/Renderer.php';
 $format = array(
 ''     => 'Newsletter Format:',
 'text' => 'Text',
 'html' => 'HTML'
 );
 $form = new HTML_QuickForm2('newsletter');
 $name = $form->addText('name')->setLabel('Your Name:');
 $email = $form->addText('email')->setLabel('Your E-mail Address:');
 $newsletter = $form->addSelect('format', null, array('options' => $format));
 $newsletter->setLabel('Preferred Newsletter Format:');
 $form->addElement('submit', null, 'Submit!');
 $renderer = HTML_QuickForm2_Renderer::factory('default');
 echo $form->render($renderer);
?>

HTML_QuickForm2 offers a series of methods, which are responsible for creating form controls such as text fields (addText())and select boxes (addSelect()). Each of these controls is accompanied by control labels that can be added using the setLabel() method. Finally, HTML_QuickForm2 gives you the flexibility to render forms using a wide variety of approaches, including using the Smarty templating engine and an HTML_QuickForm2_Renderer object.

You can just use the default renderer as demonstrated here, passing that object to the render() method in order to output the form. Next, let’s consider the slightly more complex example depicted in Figure 2.

Figure 2. Creating a More Complex Form Variation

This time, the fieldset tag has been used to create a slightly more organized form structure. Because the form elements appear inside the fieldset boundary, you need to create these elements using the methods exposed through the fieldset object! Neglecting to do so will cause form elements to be rendered outside of the boundary. The following listing creates the form presented in Figure 2.

<?php
require_once “HTML/QuickForm2.php”;
require_once ‘HTML/QuickForm2/Renderer.php’;
$format = array(
” => ‘Newsletter Format:’,
‘text’ => ‘Text’,
‘html’ => ‘HTML’
);
$form = new HTML_QuickForm2(‘newsletter’);
$fieldSet = $form->addFieldset()->setLabel(‘Subscribe to the Newsletter!’);
$name = $fieldSet->addText(‘name’)->setLabel(‘Your Name:’);
$email = $fieldSet->addText(’email’)->setLabel(‘Your E-mail Address:’);
$newsletter = $fieldSet->addSelect(‘format’, null, array(‘options’ => $format));
$newsletter->setLabel(‘Preferred Newsletter Format:’);

$fieldSet->addElement(‘submit’, null, ‘Submit!’);
$renderer = HTML_QuickForm2_Renderer::factory(‘default’);
echo $form->render($renderer);
?>

Try experimenting with creating form controls using the HTML_QuickForm2 object instead of the FieldSet object in order to observe the effects of control location placement.

Validating the Form

The previous two examples demonstrated how easy it is to create and render forms using HTML_QuickForm2, but they did nothing to inspect and validate user input — not to mention informing users when the form wasn’t successfully completed. You can configure control-specific validation requirements using theaddRule() method, as shown here: $name = $form->addText(‘name’)->setLabel(‘Your Name:’); $name->addRule(‘required’, ‘Please provide your name.’); After having added similar requirements to the other form controls, HTML_QuickForm2 will automatically adjust the rendered form to inform the user of the required fields, as depicted in Figure 3.

Figure 3. Adding Field Requirements

The required rule is just one of several supported by HTML_QuickForm2. Among others, you can control input lengths, compare the input with some predefined value, and even create your own custom rules using a callback. Consult the HTML_QuickForm2 documentation for the complete details. Even with the rules added, HTML_QuickForm2 will not actually validate the input until you explicitly call the HTML_QuickForm2 object’svalidate() method. Therefore, you’ll need to add the following code somewhere before the form is rendered:

if ($form->validate()) {
 echo "<p>SUCCESS!</p>";
}

Of course, in a real-world situation you’ll want to carry out more than just a simple notification; you likely will add the subscriber’s information to a database. However, if the user’s input does not meet the validation requirements, HTML_QuickForm2 will notify the user of the problem, as depicted in Figure 4.

Figure 4. Displaying Error Messages

You can easily add CSS to the form, thereby making the error messages quite evident.

HTML_QuickForm2 provides developers with the means for rigorously creating and validating forms in a manner that greatly reduces the likelihood of invalid or harmful input while simultaneously reducing the amount of time and effort needed to develop complex form layouts.

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , ,
Posted in Purely Technical

BobbyeM71hxwUbuntu 10.10 Might Make btrfs the Default Filesystem

May 21st, 2010

The next version of Ubuntu 10.10 could include btrfs as the default filesystem replacing ext4, said Ubuntu Developer Manager Scott James Remnant.

A lot has to go right between now and the Ubuntu 10.10 feature freeze before btrfs can get promoted to the default.

According to the Kernel.org Wiki, Btrfs is a new copy on write filesystem for Linux aimed at implementing advanced features while focusing fault tolerance, repair and easy administrative. Initially developed by Oracle, Btrfs is licensed under the GPL.

According to Remnant, the btrfs needs to not be marked “experimental” in the kernel config. He also added, “This is planned for 2.6.35, which is the kernel version and expecting to ship” with Ubuntu 10.10.

Currently, the new filesystem is not supported by Grub2, Ubuntu’s boot loader, or the installer. That would need to be finished, before feature freeze, said Remnant.

He explained, if that happens, we may make it the default for Alpha releases to gain testing, that testing must go smoothly. And the btrfs upstream must be happy with the idea and, we must be happy with the idea.

He put the odds of all of this working out at 1 in 5.

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , ,
Posted in Technical News

Today Blogs | Latest Blogs
  • Categories
  • human hair wigs clip in hair extensions human hair weave scarpe mbt louboutin pas cher louboutin pas cher Ralph Lauren pas cher ralph lauren pas cher air max pas cher canada goose pas cher air max 90 pas cher louboutin outlet Canada Goose Pas Cher