Posteado por Mnosh el 09 de Diciembre de 2010 a las 19:59hs.

Login de usuario vía ajax, con jQuery y JSON

Hace tiempo deje un pequeño tutorial de como generar un sistema de login en php, ahora voy a mostrar un ejemplo muy sencillo para poder logear un usuario de forma asincrónica, es decir sin refresca la pagina, utilizando jQuery.

Para ellos, primero partimos de un formulario simple, para este ejemplo solo voy a usar usuario, y contraseña,  y un div donde dejar el mensaje de autentificación o error en caso de no poder loguear al usuario.

Mis archivos en este ejemplo serán 3.

login.html: página simple en HTML que deberá tener la llamada a la librería jQuery, el script del ejemplo para el login, y el formulario de envió.

jquery.js: en mi caso la voy a tener en el mismo directorio que el resto de los archivos, por una cuestión de simplicidad, la librería la bajan de http://jquery.com/

login.php: archivo en php que se va a encargar de loguear al usuario y responder con un objeto JSON.

 

 

 

 

 

Posteado por Mnosh el 09 de Diciembre de 2010 a las 17:10hs.

# encript.in [proteger enlaces de descarga]

encript.in

Luego de algunos días un poco ocupado entre estudios y trabajos, me decidí a desarrollar un pequeño sitio que tenia dándome vueltas en la cabeza.


Básicamente funciona como hides.at (y alguno otro que anda por la vuelta) con la idea de anteponer un capacha para impedir que los enlaces sean reportados.


Extendiendo un poco la idea, agregué cuentas de usuario, y un panel para administrar y poder editar los enlaces de cada contenedor, proteger por password cada enlace, agregar descripciones, tags, títulos, activar indexación y reportar enlaces dañados.
Con el tema de la indexación y los tags, a medida que la web crezca y se llene la base de datos, voy a activar la nube de tags, y el directorio de enlaces, con lo cual el sitio aparte sera navegable.


Es lo que usare de ahora en más para los enlaces del blog, el registro queda abierto para aquellos que lo quieran utilizar.

La url del sitio: http://www.encript.in

 

Posteado por Mnosh el 09 de Diciembre de 2010 a las 02:30hs.

PHP 5.3 videotutorial

manual php en español

PHP 5.3-English version | ISO | 903 MB

PHP 5.3 Advanced web application programming. Learn the nuts and bolts of advanced web application programming!  Join Edward Tanguay as he dives into PHP programming. In his workshop, you will learn that it only takes a few minutes to get an Apache web server, a MySQL database, PHP 5.3, and the Eclipse editor up and running using the free XAMPP installation tool. Edward will then cover the PHP syntax, such as operators, loops and variables, before moving on to make you a PHP expert, tackling object orientation, databases, XML parsing, web services, security and much more. The training also includes important new features of PHP 5.3, such as namespaces, lambdas, and late static binding. Once you complete this video training, you will have the skills you need to build next-generation dynamic websites.

Posteado por Mnosh el 15 de Noviembre de 2010 a las 10:35hs.

CodeIgniter from Scratch

codeigniter from scratch videotutorial

CodeIgniter es un framework para desarrollo de aplicaciones en PHP, es Open Source, muy pequeño (por lo menos comparándolo con Zend) y posee un acceso a sus librerías bien estructurado.
Es liviano y fácil de instalar ya que sólo hay que descomprimirlo y copiarlo en una carpeta del servidor.
Llevo usándolo un tiempo y la verdad es que es bastante fácil de aprender y de familiarizarse con el concepto que propone, creo que en verdad facilita mucho los desarrollos, ya que permite concentrarse en el problema, evitando así tener que volver a escribir una y otra vez lo mismo.
Entre las cosas que más me gustan figuran: como se estructura la aplicación y el manejo de la base de datos (incluído scaffolding).

 

Posteado por Mnosh el 08 de Noviembre de 2010 a las 20:36hs.

Manual de PHP [PDF ESP]

manual php en español

PHP, acrónimo de "PHP: Hypertext Preprocessor", es un lenguaje "Open Source" interpretado de alto nivel, especialmente pensado para desarrollos web y el cual puede ser embebido en páginas HTML. La mayoría de su sintaxis es similar a C, Java y Perl y es fácil de aprender. La meta de este lenguaje es permitir escribir a los creadores de páginas web, páginas dinámicas de una manera rápida y fácil, aunque se pueda hacermucho más con PHP.

 

 

Posteado por Mnosh el 04 de Noviembre de 2010 a las 03:34hs.

PHP 5 Social Networking [PDF]

This book is a fast-paced tutorial focusing on creating a Social Networking framework through an ongoing case study. It presents a lot of real-world code, with comprehensive explanation and discussion. With each chapter, the Social Networking framework is extended, with more functionality being added as we progress through the book. This book is primarily aimed at PHP developers, but is suitable for any web developers looking to expand their knowledge and understanding of Social Networking concepts. Intermediate knowledge of PHP and object-oriented programming is assumed, along with a basic knowledge of MySQL.

Posteado por Mnosh el 21 de Octubre de 2010 a las 03:39hs.

PHP5 Orientado a Objetos [PDF]


This book teaches OO PHP by doing it. If you are a PHP programmer who wants to make the switch to an OO approach, Object-Oriented PHP can ease the transition from procedural to object-oriented programming (OOP). Basic concepts are introduced using simple but useful classes. In short, this book: Brings together information from a variety of sources for a comprehensive overview of OO PHP Explains OO concepts through concrete examples, not in the abstract. Takes a practical and easy-to-understand approach Demonstrates the advantages of OOP rather than just asserting them The classes developed in this book are fully functional and are all available for download at the companion website. This code can be put to work immediately in a variety of situations. The code takes full advantage of the capabilities of PHP 5 but, where possible, a PHP 4 version of the code is also provided, because you don’t always have a choice about where your code is deployed. Additionally, this will ease the transition for anyone ready familiar with OOP under PHP 4.

Posteado por Mnosh el 12 de Octubre de 2010 a las 17:47hs.

PHP : CodeIgniter Framework [formularios de registro]

CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications. If you're a developer who lives in the real world of shared hosting accounts and clients with deadlines, and if you're tired of ponderously large and thoroughly undocumented framework

 

Posteado por Mnosh el 08 de Octubre de 2010 a las 15:29hs.

PHP and MySQL Tutorials Web Development

videotutorial php and mysql

LearnPHP&MySQL is a comprehensive resource of categorized web development tutorials. We intend to make it the richest online database of web development tutorials, including, but not limited to, PHP and MySQL tutorials. Enjoy browsing our growing selection of free professional PHP/MySQL tutorials to find out that you don’t need to be a Super Brain to learn web development in all its minutest details. Create web pages with dynamic content, develop web based software applications, design your own PHP projects, and all that with our PHP tutorials. The tutorials are updated daily from different authors and sites so that you won’t have to spend hours searching the web for them yourself. The number of tutorials is constantly increasing as LearnPHP.org is open to readers as well as to new authors. If you’re a programming guru or an experienced amateur this is the place for you to submit your tutorials. Enjoy browsing and learning!
* The MySQL database server (for both Unix and Windows)
* Accessing MySQL databases through PHP scripting (the letters don’t really stand for anything)
* Database creation and modification
* PHP tricks in order of increasing complexity–everything from basic SQL queries to secure transactions for commerce
* Authentication
* Network connectivity
* Session management
* Content customization
- PHP and MySQL Essential Training | Lynda.com
- PHP and MySQL Beyond The Basics | Lynda.com
- PHP and MySQL Basics and Ajax | CartoonSmart.com

Posteado por Mnosh el 20 de Setiembre de 2010 a las 17:31hs.

Twitter API: Application Development [PDF]

twitter api development

The Twitter API consists of three parts: two REST APIs and a Streaming API. The two distinct REST APIs are entirely due to history. Summize, Inc. was originally an independent company that provided search capability for Twitter data. Summize was later acquired and rebranded as Twitter Search. Rebranding the site was easy, fully integrating Twitter Search and its API into the Twitter codebase is more difficult. It is in our pipeline to unify the APIs, but until resources allow the REST API and Search API will remain as separate entities. The Streaming API is distinct from the two REST APIs as Streaming supports long-lived connections on a different architecture.

The Twitter REST API methods allow developers to access core Twitter data. This includes update timelines, status data, and user information. The Search API methods give developers methods to interact with Twitter Search and trends data. The concern for developers given this separation is the effects on rate limiting and output format. The Streaming API provides near real-time high-volume access to Tweets in sampled and filtered form.

To learn about the methods and data available through the API, review the Twitter API technical documentation.

We publicly disclose current defects and enhancements. Current defects and enhancement priorities can be viewed on our issues list. Long term goals are recorded in the roadmap document.

The API is updated regularly with new features. We occasionally deprecate features. All of these changes are communicated in the following places: