Saturday, August 29, 2009

Can You Use An Interim License To Get Into A Bar?

Editor

Hello!, well this time I want to talk about multipurpose editor jEdit developed in java which is platform, among the curiosities for my taste very helpful to a programmer is its support of plugins with that account and that since there can be extensible, also allows more than one code in the foreground (such as in the example) in the configuration options you can go and find more curiosities itching like changing the LookAndFeel etc; One of the things that we can blame is being developed in java virtual machine depends on ... but good is a cheaper option.






and other publishers you know?.

sources:

http://www.esdebian.org/wiki/jedit-instalacion-debian
http://www.vivaserver.com.ar/blog/2007/09/21/jedit-el -TextMate-of-the-poor

Wednesday, August 26, 2009

Indian Wedding Invitations In Brampton

Starting with PHP and some AJAX

Starting with PHP and Ajax, and n this article we will see the use of scripting language PHP as client-server applications using Apache as the web server some html and javascript, are going to keep everything in a simple reaching

AJAX Introduction

Well first of all let's see php, like other tools we use, apache
, html, javascript AJAX, and MySQL famosillos but this makes sense when technologies come together:

In this way the web server (Apache) allows us to interact with the motor Database (MySQL) using a script language (php) returning customer requests according to an information or other thus forming dynamic pages based on client requests and server responses. The client is nothing more than your web browser (Firefox) that gives us support for HTML and JavaScript.

Installation

Within the installer what is windows quick and recommend that we avoid a lot of hand to put him an example configuration is Appserv there is another package that We provide those tools together already configured and ready to work , now that if we are in Linux can download them separately each tool, this series just for the installation command:

apt-get install apache2 apt-get

install php5 apt-get install mysql-server-5.0
apt-get install php5-mysql
apt-get install libapache2-mod-php5

apt-get install phpmyadmin


In the first three lines are the basic tools for our web server, the other two are what we are linked together and the last is a frontend of our base manager data (this is also found in Appserv), if all went well until now we can type in your web browser as follows:
localhost / phpmyadmin from here we can manage our MySQL, create users, databases data, etc.

Interaction tools

Now let's start with a small example in php:





this small example will print 10 times the word synergy, for more details on programming in php can view this league.

now see an example of connection to a MySQL database, but first we will create our base

Snipplr


and now the code to interact with it:




As we connect the procedure involves using a source (the local host in this case), user (login1), and password (password1) if no successful connection to exit the script with an error message, if the connection is achieved chose to base we connect (test), then perform a query and display each field on the page , to finish closing the flow to the connection, to dig deeper into the php-mysql functions please see the following page .


now see an example of using AJAX, but to not go cold on the subject say that AJAX is the combination of several technologies that allow us to recharge so that asynchronous dynamics is not full page refresh if not just part of it, an example is email GMail and many more.

The first code submitted is responsible for displaying the initial screen using HTML code, we see that within the code HTML code is php from here we see to be interpetado after the browser as the php code never see but only the result of this, we create an element called div javascript pass through to the inside of this div servior see there is a text field and off the see a button that links to a javascript function, note that the code can be mixed with HTML as long as they do for separation by using tag.



The second code is the one that creates the interface between the client and the server, find the start nuevoAjax function we create the XMLHTTPRequest element, the second function is the function name where using the DOM make use of HTML elements and get their values; the Open method of our object gives us the pattern ajax of how to bind asynchronously, to file and that will lead you step method parameters it will, in this case POST, and you specify with the true that it is an asynchronous call, we have also the onreadystatechange event listener which was shot in the asynchronous call is done, so that "we will stick" the HTML that we send our server to our div (div noted previously that the way to the variable results) and the number 4 indicates that the transfer is completed successfully, with the method setRequestHeader send Content-type attribute indicating the contents of the file, finally use the send method to send as a parameter to the value of the textfield to the server, if will send non-null parameters.



Now we have the last file is the one side of the server this file is called by us. Js file using the open method is charged with the send method is called, this file contains HTML code that is sent through php creates a table and are created rows and columns using two nested for the second for use within the predefined variable $ _POST ["variable"] variable that we serve to capture the information previously sent from our js code and all that we throw (to throw everything I mean to send echo) this file is sent to the js file and sticking to the div object (remember the event handler onreadystatechange ).

and there you have it, our first example using AJAX, I hope you have been at least somewhat clear.

Conclusion:

As we have seen the use of scripting languages \u200b\u200bare increasing and how they are interacting we can navigate a bit at the beginning and if we add the management of the database from one of them it becomes a bit tangled, but After entering this, just a matter of practice.

Links:
http://www.tufuncion.com/tutorial_basico_ajax
http://www.cristalab.com/tutoriales/introduccion-a-ajax-con-php-y-formularios-c165l/
http://www.librosweb.es/ajax/capitulo7/interaccion_con_el_servidor.html
http://www.lugmen.org.ar/pipermail/lug-list/2005-May/035613.html
http://www.webestilo.com/php/php09b.phtml



Monday, August 24, 2009

Dermapet Lime Sulfur Dip For Cats

Ext.Viewport object. ASIMO

This object is a special container within the core of Ext Js (much like Ext.Panel), which represents the visible area of \u200b\u200bthe application.
its class hierarchy is:


say it is special because:
  • automatically renders the HTML document body (document.body).
  • Adjust the size of the window as this will be resized. (Try resizing the window in the demo ).
  • can only be one object per page Ext.Viewport.
  • displacement does not support (Scrolling), if needed, it must be implemented by child components, such as a Ext.Panel.
Well enough is enough, give me something to do, show me some code ...
Example:


Explaining a little:

Ext.onReady (); This function runs when DOM is ready and can be referenced, it is like the body onLoad event, but the difference is not expected onReady loading the images, styles, JavaScript and the DOM, so this ready before the onLoad event. (Have a look the ExtJS API . )

All objects have something called "Configuration options" that come to be the first choices of each object, and here items is precisely one of the options Ext.Viewport. Some other options are:
  • anchor: This option should be used when the container has been configured with a content management AnchorLayout.
  • disabled: Enable or disable the component, the default value is false.
  • hidden : This property sets the object to determine whether it should be shown or not.
  • HideBorders : Indicates whether or not to be painted the borders, default value false
  • layout: Indicate the size and position to take the objects inside the container.
  • items: May be an object or an array of objects. This is one of the ways in which we can add child components inside another object, in this case the container Ext.Viewport. Example
;
  • a single object: items
  • :{...}
  • several objects: items_ [{...}, {...}]
These objects (items) can be any class-based object Ext.Component which we find expressed in two ways:
  • A complete instance :
TextField


being: items: {name}
  • U n object literal (literal object , dynamic object) that contains a set of properties and values \u200b\u200bthat:
1 .- It has specified the type of object using xtype, which must be one the list falls within Ext.Component.
2 .- If xtype is not specified, the value of the container DefaultType (Contein) will be used and this 'panel'.
being:

Code snippet - items on Snipplr

The result is the following:


View demo: Viewport
know it sounds a little thing anything, but I hope to move forward, to see examples useful.

Conclusion:
Well as we create an object Ext.Viewport, is very simple and we all have the bases on the concepts of object-oriented programming, and as I said earlier it is much like programming in Java, (remember when you change the color .... my first panel; -)), in addition to the way objects are added is very clear, thanks to JSON, I hope I can explain a little about this notation.

Links:
Ext JS API
Material support.

Saturday, August 22, 2009

Green, Pink, Blue, Yellow, Orange, Purple?

Gamer Gamer + Tape = Aero

This player, as he had no seat and had to stick to the roof to play! haha

Saturday, August 15, 2009

Lacquer Thinner Primer Type



He is Asimo is the most advanced robot in existence.
Now is the star of the Honda company (creative the robot) and no wonder.

Tuesday, August 11, 2009

Optimax Rough Idle Cold Start Troubleshooting

"bend spoons with his mind?

do not know why but somehow I'm familiar with this situation (click for larger version):

"Any resemblance to reality, is pure coincidence "

Sunday, August 9, 2009

Kidney Stone Stuck Infection



In this post, we will have a simple example of PyQt , with the following order:
  1. Design QtDesigner graphical interface.
  2. code generation in Python pyuic4 with the tool.
  3. Create a class to contain object with the window and manage their events, as well as entry point (main) for our program.
But what is this? Let the Wikipedia enlighten us, because all is said and life is short, and now, in the absence of the corresponding article, I can tell you QtDesigner is an application for designing graphical interfaces Qt, storing the description and layout of components in an XML file for later use from multiple programming languages.

Requirements.

The system used in the development and testing of this example is Debian Sid, for I will mention the name of the distribution's own package. However, the tools used are cross-platform.
  • python (we use version 2.4 onwards).
  • The Qt4 libraries, which will automatically install dependencies to python-qt4.
  • python-qt4 (the interface between the Qt4 libraries, programmed in C + +, and the language we will be using).
  • qt4-designer.
  • PyQt4-dev-tools (this package provides the command pyuic4).

Introduction to Python.

Python is very easy to learn, so even if we have not used ever, with a little reading and practice can begin with our first programs, a basic, but functional.

I recommend you read this tutorial to a quick start. To easily understand the example on this post, you must know the structure of a program in Python, data types, functions, and to a lesser extent, inheritance, modules and packages.

Moving on.

Our example is based on this material , still highly recommended reading, and from the slide 41 begins to use QtDesigner. They should be something like:

The buttons for the four operations we have the names: sum, res, mul and div, on the other hand, the text fields will be named num1, num2, and result, and finally to the window we called calc. Well, we will keep this form with the name calc.ui and now comes the magic: with the command pyuic4 take that file. Ui and generate the code in Python. The command is:
 calc.ui-o calc_ui.py pyuic4 

The result is illustrated below:

calc_ui.py
File Code snippet - pyuic4 generated code on Snipplr

Noten QtDesigner that we have done all the dirty work, have modified added more properties or more components, write, test and maintain the code manually would be an unwelcome activity.

Here's an important point to treat, and every time we change our interface (. Ui) we have to regenerate the code in Python, so it is not advisable to make changes to the latter, as they will be overwritten without mercy .

To supplement the form with the code for the events and some other actions at runtime, we can write a new class and then create a class based object originated from QtDesigner, or that this new class inherits from the first. On this occasion we will Finally.

calc.py

One difference we see between the code above and shown on slide 57 of presentation, is that in our class have not controlled event clicked () on the exit button . Instead, we defined a handler for this event from the same QtDesigner, redirecting the method close () of the form. In slide 44 we can see where is the editor of signals. Here is a screenshot of this tool:

This what we do because close () is part of the class QWidget, and is what is called a slot , which is nothing more than a method designed to receive signals (events) and a defined behavior. Do not forget that since we can not add code QtDesigner, so our methods to respond to clicks on the buttons have to be implemented and "plugged in" externally. Commenting

more about the code, lines 13 through 16 we see how we link to a specific signal buttons, with four different methods located in the same class (line 18 to 28). The block from line 30 onwards is outside the definition of the class, and will be executed when the module is invoked as an entry point for the application.

To run the program: python
 calc.py 


Well, that we and our powerful calculator running. In a later entry we see the changes or problems that arise in doing this in windows, and more important things, we will use another method of communication between QtDesigner and Python, which is charged directly to the. Ui at runtime, ie without pre-generate the code with pyuic4.

links and attachments.

Python for all
Presentation
PyQt PyQt-calculadora.zip

Saturday, August 8, 2009

How Much Does Menchies Cost ?

PyQt graphical interfaces with Ext JS What?

Today there are many tools for developing applications Rich Internet as (RIA ) , one of them are JavaScript frameworks, and within these, is where it is located Ext JS , which allows us to develop applications with a speed considerable and looks very nice ( look and feel), it is noteworthy that there are already many "look and feel" to give a different look than conventional . His pronunciation (x'D) may be found in this official forum thread (Here) .

This library was initially developed as an extension of the library Yahoo! User Interface (YUI ) , and thanks to its good structure can now interact with jQuery, Prototype and YUI also Ext JS has its own library which is called Ext -base.

When programming with this library will which is very similar to use Java, because they can create windows, panels, grids , layouts, tooltips, tabs, control forms, menus , check box, radio button , trees, toolbar, combobox, date fields and many widget more, which is well documented.

There are three types of licenses:

Commercial

  • : If want to develop proprietary software that is the choice , its price ranges from $ 329 to $ 16.449, depending on the number of licenses desired.
  • Open Source : This means your a explanation must be released under license GNU GPL V3 .
  • Reseller: This type of license is required when you want to make a purchase framework or library based on Ext JS . To find the cost is necessary to contact the team Ext JS . Currently

Ext JS this in version 3.0 and can be downloaded from their official site here .

Installation:

To start using it you just have to be imported, the following files:
  • ext-3.0.0/resources/css/ext-all.css
  • Ext-3.0.0/adapter/ext/ext-base.js
  • ext-3.0.0/ext-all.js


Result:


Conclusion
:

This framework is something very novel and to my taste one of the best structured and has great scope thanks to adapters which allows you to interact with other libraries . With it you can make applications very showy and especially operational environment web, and data flow like a desktop application.

This library is currently being used by various entities of which we can cite some examples: Adobe , Amazon. Com , Boeing, Borland , Cisco, CNN , Down Jones & Co , HP, IBM ...


NOTES: also exists version to work with Google Web Toolkit (GWT ). Http://www.extjs.com/products/gxt/

Links:
Examples:
http://www.quizzpot.com/ (Course with videos, examples and materials. Very illustrative)
http://extjs.com/deploy/dev/examples/samples.html
http://extjsmexico. com / demos / modulo_usuarios / modulo_usuarios.php
http://www.sdsimple.es/app/ Username: passer password: passer HOT !
http://es.wikipedia.org/wiki/ExtJS
http://extjsmexico.com/

Wednesday, August 5, 2009

How Much Does A Custom Playhouses

Creator and partners reach agreement

yes echoed the letter released by the team of developers of CentOS project as these and Lance Davis finally met to reach agreement on the points mentioned in a previous post where the first requested among other things , who was a delegate both for the administration of domain 'centos.org' as IRC channels.



Of course that does not die the project, a plan of action drawn up by mutual agreement for extraordinary cases. The project is led entirely by volunteers and are aware that requires a different style of administration. Have and continue to work to prevent situations how are you occurring in the future. Developers are
fully committed to the project, which will continue to see updates on current versions, waiting, of course, new releases. Congratulations





Tuesday, August 4, 2009

Medication Usually Prescribed For Hernia Repair

Tico cross bike pedestrian bridge railing

Alberto Mata, trial practitioner, spent cycling the railing of a pedestrian bridge on the road Flroencio del Castillo. Here's the video:



Article in The Nation on the feat! Hazard castration