Node.js has been released v0.8, It seems released with significant improvements on performance,API code clean up,etc.
For more information about release updates, Have a look
http://.nodejs.org/2012/06/25/node-v0-8-0/
Download:
http://nodejs.org/#download
Doc:
http://nodejs.org/api/
Reference:
http://.nodejs.org/2012/06/25/node-v0-8-0/
Wednesday, June 27, 2012
Saturday, June 23, 2012
Hibernate ORM 4.1.4
Hibernate team released it's latest version 4.1.4.
Changes Log
https://hibernate.onjira.com/browse/HHH/fixforversion/11960
Artifacts available in JBoss Repo & Maven
https://repository.jboss.org/nexus/content/groups/public/org/hibernate/
Reference
http://in.relation.to/Bloggers/HibernateORM414Release
Changes Log
https://hibernate.onjira.com/browse/HHH/fixforversion/11960
Artifacts available in JBoss Repo & Maven
https://repository.jboss.org/nexus/content/groups/public/org/hibernate/
Reference
http://in.relation.to/Bloggers/HibernateORM414Release
Rails 3 tips - Create project with different database(MySQL,PostGresSQL,JDBC,SQL SERVER, etc)
Here are commands to create Rails 3 application with different database
MySQL
rails new app --database=mysql
ORACLE
rails new app --database=oracle
PostgreSQL
rails new app --database=postgresql
SQLite3
rails new app --database=sqlite3
FrontBase
rails new app --database=frontbase
IBM DB
rails new app --database=ibm_db
SQL SERVER
rails new app --database=sqlserver
JDBC
rails new app --database=jdbc
JDBC MySQL
rails new app --database=jdbcmysql
JDBC PostgreSQL
rails new app --database=jdbcpostgresql
JDBC SQLite3
rails new app --database=jdbcsqlite3
MySQL
rails new app --database=mysql
ORACLE
rails new app --database=oracle
PostgreSQL
rails new app --database=postgresql
SQLite3
rails new app --database=sqlite3
FrontBase
rails new app --database=frontbase
IBM DB
rails new app --database=ibm_db
SQL SERVER
rails new app --database=sqlserver
JDBC
rails new app --database=jdbc
JDBC MySQL
rails new app --database=jdbcmysql
JDBC PostgreSQL
rails new app --database=jdbcpostgresql
JDBC SQLite3
rails new app --database=jdbcsqlite3
Labels:
JDBC,
MySQL,
Oracle,
PostgreSQL,
Rails 3,
Ruby,
SQL Server,
Sqlite3
Cake PHP 2.3.1 with SQL Server 2005 or higher
Here are steps to connect CakePHP with SQL Server
1. Download latest stable stable version cakePHP from here
2. Copy the framework to web server document root folder(htdocs)
3. Download Microsoft Drivers for PHP for SQL Server from here
http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=20098
In this link you can see two versions(2.0,3.0) of Microsoft drivers for PHP. Suppose you use windows XP with PHP 5.3.0 or lesser version then choose 2.0 driver otherwise choose 3.0 driver.
Download the driver and install it. It generates driver dll files. There are two way to connect SQL server with PHP. A procedural interface (SQLSRV) and an object oriented interface (PDO). Both the SQLSRV and PDO APIs provide a comprehensive data access solution from PHP, and include support for many features including Windows Authentication, transactions, parameter binding, streaming, metadata access, connection pooling.
Note:
Microsoft Drivers for PHP 2.0 need Microsoft SQL Server 2008 Native Client
Microsoft Drivers for PHP 3.0 need Microsoft SQL Server 2012 Native Client
More information & downloads available http://msdn.microsoft.com/en-us/library/cc296170.aspx
4. To enable PDO SQL Server extension, copy php_pdo_sqlsrv_53_nts_vc9.dll into "ext" folder of PHP where other PHP extensions are available
5. Enable PDO SQL Server extension on php.ini
[pdo_sqlsrv]
extension=php_pdo_sqlsrv_53_nts_vc9.dll
pdo_sqlsrv.log_severity=-1
6. Restart the web server
7. Make sure pdo_sqlsrv extension enabled by phpinfo
<?php phpinfo(); ?>
8. Edit CakePHP database config file for SQL Server database connection
Go to app/Config/database.php, edit database settings
public $default = array(
'datasource' => 'Sqlserver',
'persistent' => false,
'host' => 'sqlserver',
'login' => 'sa',
'password' => 'password',
'database' => 'demo',
'prefix' => ''
);
Now i hope you can able to connect database & create models for SQL Server tables.
1. Download latest stable stable version cakePHP from here
2. Copy the framework to web server document root folder(htdocs)
3. Download Microsoft Drivers for PHP for SQL Server from here
http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=20098
In this link you can see two versions(2.0,3.0) of Microsoft drivers for PHP. Suppose you use windows XP with PHP 5.3.0 or lesser version then choose 2.0 driver otherwise choose 3.0 driver.
Download the driver and install it. It generates driver dll files. There are two way to connect SQL server with PHP. A procedural interface (SQLSRV) and an object oriented interface (PDO). Both the SQLSRV and PDO APIs provide a comprehensive data access solution from PHP, and include support for many features including Windows Authentication, transactions, parameter binding, streaming, metadata access, connection pooling.
Note:
Microsoft Drivers for PHP 2.0 need Microsoft SQL Server 2008 Native Client
Microsoft Drivers for PHP 3.0 need Microsoft SQL Server 2012 Native Client
More information & downloads available http://msdn.microsoft.com/en-us/library/cc296170.aspx
4. To enable PDO SQL Server extension, copy php_pdo_sqlsrv_53_nts_vc9.dll into "ext" folder of PHP where other PHP extensions are available
5. Enable PDO SQL Server extension on php.ini
[pdo_sqlsrv]
extension=php_pdo_sqlsrv_53_nts_vc9.dll
pdo_sqlsrv.log_severity=-1
6. Restart the web server
7. Make sure pdo_sqlsrv extension enabled by phpinfo
<?php phpinfo(); ?>
8. Edit CakePHP database config file for SQL Server database connection
Go to app/Config/database.php, edit database settings
public $default = array(
'datasource' => 'Sqlserver',
'persistent' => false,
'host' => 'sqlserver',
'login' => 'sa',
'password' => 'password',
'database' => 'demo',
'prefix' => ''
);
Now i hope you can able to connect database & create models for SQL Server tables.
Labels:
CakePHP,
PDO,
PHP,
SQL Server
Friday, June 15, 2012
Zipkin - distributed tracing system
Zipkin is a distributed tracing system that helps us gather timing data for all the disparate services at Twitter.
For more information, source code and contribution
https://github.com/twitter/zipkin
Reference:
https://github.com/twitter/zipkin
DjangoCon Europe 2012
Here is video link of DjangoCon Europe 2012 - Especially for python programmers
http://klewel.com/conferences/djangocon-2012/
Reference:
http://klewel.com/
http://klewel.com/conferences/djangocon-2012/
Reference:
http://klewel.com/
Labels:
Conference,
Python
Wednesday, June 13, 2012
Browser security
Here is handbook for browser security. It may help you to check you're browser security level
https://code.google.com/p/browsersec/wiki/Main
https://code.google.com/p/browsersec/wiki/Main
Rails 3.2.6!
Rails team has been released version 3.2.6. It contains major security fixes.
CVE-2012-2694 Ruby on Rails Unsafe Query Generation Risk in Ruby on Rails
CVE-2012-2695 Ruby on Rails SQL Injection
Source code and more information available here
Reference:
http://weblog.rubyonrails.org/2012/6/12/ann-rails-3-2-6-has-been-released/
CVE-2012-2694 Ruby on Rails Unsafe Query Generation Risk in Ruby on Rails
CVE-2012-2695 Ruby on Rails SQL Injection
Source code and more information available here
Reference:
http://weblog.rubyonrails.org/2012/6/12/ann-rails-3-2-6-has-been-released/
Monday, June 11, 2012
Emacs 24.1 released
GNU Emacs annonced it's new release 24.1. It is available on the GNU ftp site
at ftp.gnu.org/gnu/emacs/.
Here are some features in Emacs 24.1 release.
- Support lexical scoping in Emacs Lisp.
- New packaging system and interface (M-x list-packages) for
downloading and installing extensions. A default package archive is
hosted by GNU and maintained by the Emacs developers.
- Support for displaying and editing bidirectional text, including
right-to-left scripts such as Arabic and Hebrew.
- Improvements to the Custom Themes system (M-x customize-themes).
- Unified and improved completion system in many modes and packages.
- Support for GnuTLS (for built-in TLS/SSL encryption), GTK+ 3,
ImageMagick, SELinux, and Libxml2.
See http://www.gnu.org/order/ftp.html for a list of mirrors.
Sunday, June 10, 2012
Smoke - asynchronous HTTP
Smoke is a Simple, asynchronous HTTP. It's a thin DSL for building simple, fast, scalable, asynchronous HTTP services with Scala.
Guide, Example and Source code:
https://github.com/mDialog/smoke
Guide, Example and Source code:
https://github.com/mDialog/smoke
Labels:
Smoke
Apple's iOS 6 - Updates and Features
Here are list of updates/features of Apple iOS 6
1. Apple's map service - New Map
2. Facebook Integration
3. Improved iMessages
4. More Synchronization
5. Quick Access to Settings
6. Better Notifications
More details, Have a look
http://gizmodo.com/5916647/apple-ios-6-whats-needed-whats-coming/
Reference
http://gizmodo.com/5916647/apple-ios-6-whats-needed-whats-coming/
1. Apple's map service - New Map
2. Facebook Integration
3. Improved iMessages
4. More Synchronization
5. Quick Access to Settings
6. Better Notifications
More details, Have a look
http://gizmodo.com/5916647/apple-ios-6-whats-needed-whats-coming/
Reference
http://gizmodo.com/5916647/apple-ios-6-whats-needed-whats-coming/
Sunday, June 3, 2012
gmaps.js - google maps api with less pain and more fun
Nice examples of google map api
http://hpneo.github.com/gmaps/examples.html
It may help you to understand gmap api easily.
http://hpneo.github.com/gmaps/examples.html
It may help you to understand gmap api easily.
Labels:
gmap
Subscribe to:
Posts (Atom)