Monday, March 31, 2008

Create Asp.Net project using LLBLGen Pro tool

Here I am going to share how to use LLBLGen Pro tool to create a project in ASP.Net

Using LLBLGen Pro to create project:-

  1. First of all create a database using sql server
  2. Open LLBLGenPro tool.
  3. Open new project from file menu
  4. In the Create project window:

· Give the project information

· Select SQL Server7/2000/2005/2008 driver(sqlclient) from Dropdown

· Give the name of the server

· Select the name of the database and click create button

  1. After that click on project explorer:-

· Right click on Entities and click on add new entities mapped on tables.

· Select the table names and click create button

  1. Click on project tab:

· Click on Generate:

· Configure the code generation process window will open up:

· Select C# , .NET2.0

· Type the namespace

· Select tamplate group:

1.Adaptor work as a disconnected approach 2.Selfservicing work as connected approach

· Click on start generator

  1. A log view will be visible if errors occur it will show Close this window and Save the project
  2. The work of LLBLGen Pro software is finished here.

How to use LLBL to make a ASP.net project:-

1. Open a new website:-

· Right click on solution explorer’s project

· Add existing project , LLBL project that you have created, eg-llblTest

· Again add existing project , LLBL project that you have created, eg-llblDBTest

· Right click on the references of llblTest project click on Add Reference

On .NET Tab select LLBLGen Pro .NET2.0 ORM support Classes Library, click ok

· Right click on the references of llblDBTest and click on Add Reference

On .NET Tab select LLBLGen Pro .NET2.0 ORM support Classes Library and LLBLGen Pro Pro .NET2.0 Dynamic Quey Engine for SqlServer(7/2000/2005/2008), click ok

· Right click on solution explorer’s project and rebuild the project

· Right click on Test and click add reference and click on projects llblTest and llblDBTest. Click OK

· Right click on Test and click add reference and click on recent LLBLGen Pro .NET2.0 ORM support Classes Library. Click OK

2. Now click on toolbox and choose items, select LLBLGenProdatasource and LLBLGenProdatasource2. Click OK

3. Now in web.config file, in appsettings add connectionstring for the database access

4. Now you are ready for the project

Best of All

Best Overall: Facebook
http://www.facebook.com/

Facebook revolutionized the idea of what social networking could be.

Best technology innovation / achievement: Earthmine

http://www.earthmine.com/
Just next to Google Eath

Best video startup: Hulu

http://www.hulu.com/

Hulu put television online.

Best user-generated content site: Digg

http://digg.com/

Best mobile start-up: Twritter

http://twitter.com//

Twitter, for micro blogging.

Best International startup: Netvibes

http://www.netvibes.com/

Best personalised web.

Best consumer startup: Meebo

http://www.meebo.com/

Instant Messaging through different accounts on one site.

Best enterprise startup: Zoho
http://www.zoho.com/

Google doc, powerpoint, meetings, invoices all online.........

Best design: Smugmug

http://www.smugmug.com/

SmugMug is professional photo site.

Best new gadget/ device: Apple

http://www.apple.com/iphone/

Best business model: Zazzle

http://www.zazzle.com/

Best way to turn yourself into a brand loyal consumer...check this out.

Best bootstrapped startup: Techmeme

http://www.techmeme.com/

No need to use ggogle reader for immediate news.......

Best Startup Founder: Mark Zuckerburg

At 23 Mark has built one of the world’s leading online destinations that has recently been valued at $15 billion. A remarkable achievement for anyone, let alone someone at the still relatively young 23. A well deserved award.

Best Startup CEO: Toni Schneider automattic

Best new startup: imedix

http://www.imedix.com/

iMedix combines search and social networking to change the way people find health information online. Users are encouraged to help each other by sharing health experiences and links from around the web.

Most likely to succeed: Automattic

http://www.crunchbase.com/product/wordpress-com

Best use of viral marketing: Stumble Upon

http://www.stumbleupon.com/

Just like del.icio.us
keep browsing for more.............

Best Of All

Best Overall: Facebook

http://www.facebook.com/

Facebook revolutionized the idea of what social networking could be.

Best technology innovation / achievement: Earthmine

http://www.earthmine.com/

Just next to Google Eath

Best video startup: Hulu

http://www.hulu.com/

Hulu put television online.

Best user-generated content site: Digg

http://digg.com/

Best mobile start-up: Twitter

http://twitter.com//

Twitter, for micro blogging.

Best International startup: Netvibes

http://www.netvibes.com/

Best personalised web.

Best consumer startup: Meebo

http://www.meebo.com/

Instant Messaging through different accounts on one site.

Best enterprise startup: Zoho

http://www.zoho.com/

Google doc, powerpoint, meetings, invoices all online.........

Best design: SmugMug

http://www.smugmug.com/

SmugMug is professional photo site.

Best new gadget/ device: Apple iPhone

http://www.apple.com/iphone/

Best business model: Zazzle

http://www.zazzle.com/

Best way to turn yourself into a brand loyal consumer...check this out.

Best bootstrapped startup: Techmeme.

http://www.techmeme.com/

No need to use ggogle reader for immediate news.......

Best Startup Founder: Mark Zuckerberg (Facebook)

At 23 Mark has built one of the world’s leading online destinations that has recently been valued at $15 billion. A remarkable achievement for anyone, let alone someone at the still relatively young 23. A well deserved award.

Best Startup CEO: Toni Schneider (Automattic)


Best new startup: iMedix

http://www.imedix.com/

iMedix combines search and social networking to change the way people find health information online. Users are encouraged to help each other by sharing health experiences and links from around the web.

Most likely to succeed: Automattic (WordPress)

http://www.crunchbase.com/product/wordpress-com

Best use of viral marketing: StumbleUpon

http://www.stumbleupon.com/

Just like del.icio.us

keep browsing for more.............

Saturday, March 29, 2008

Visual Search Engine

When I though about the idea of visual search engine, the only thing that hit my mind was SLOW SLOW SLOW.

BUT I WAS WRONG

I got invitation to see the searchme private beta. The search engine idea is AMAZING without any doubt. How it works?

I typed in a keyword in the first screen. The screen had only one field (see the image bellow), as soon as I type the keyword, it gives me the relative category.



I entered leewayhertz and it showed me internet and web services, advertisement and marketing,web development, software and work & career. I can hit enter or I can click on one of the category. I clicked on the search all and it shows me the result of the keyword as images(see image bellow).


The resulting images arrived surprisingly fast and it doesn't ends here. I carefully saw the images the keyword I searched for(in this case 'leeewayhertz') was marked in yellow in the images itself. This is pretty cool.

Thursday, March 27, 2008

LLBLGen Pro- Data-access tier GENERATOR

LLBLGen Pro is a data-access tier generator for .NET, which generates a complete data-access tier and business support tier for you (in C# or VB.NET), using an existing database schema set. The generated .NET code is compiler-ready and can, being compiled by the .NET C# or VB.NET compiler, and can be used immediately by other applications.

LLBLGen Pro fully supports existing stored procedures by creating wrapper code, that lets you call a stored procedure with one line of code.

LLBLGen Pro saves developers a lot of time, up to over 50% of a total project's development time, and lets them focus on the real deal: business logic code

You design your database schema's with the abstract modelling tools you always use and LLBLGen Pro takes care of the rest.

LLBLGen Pro supports two paradigms: SelfServicing (persistence logic is part of the entities) and Adapter (persistence logic is a service, part of an 'adapter' object and not part of the entities). Of both paradigms a short example is given below.

SelfServicing paradigm
The orders of the customer below are lazy loaded from the persistent storage. This means that when the orders are already loaded, they are not loaded again. Also, notice that the generated code doesn't need a central object which provides you the entity instances, you can work with the classes as if you've written them yourself.

// C#

CustomerEntity customer = new CustomerEntity("CHOPS");

orderGrid.DataSource = customer.Orders;

If you want to refresh the orders collection of this customer, you can force a refresh, to overrule the lazy loading:

// C#


customer.GetMultiOrders(true);


Adapter paradigm
Adapter is the paradigm meant for disconnected applications and applications where persistence logic can't be part of or shouldn't be part of the entities. An example could be an application where the UI tier for example isn't allowed to do any persistence logic: to avoid having developers call persistence oriented methods like fetch methods or save methods, Adapter is a good alternative. Also, in distributed applications, adapter is recommended. Adapter is also suitable to use multiple database types at the same time, so fetch an entity from SqlServer and save it later on in an Oracle database for example.

Because of its nature, Adapter doesn't support Lazy Loading. However it does support, as SelfServicing, the powerful Prefetch Path feature to load related entities efficiently. This is illustrated in the following example.

 // C#

CustomerEntity customer = new CustomerEntity("CHOPS");

PrefetchPath2 path = new PrefetchPath((int)EntityType.CustomerEntity);

path.Add(CustomerEntity.PrefetchPathOrders);

// now fetch the customer and the related orders in one go

using(DataAccessAdapter adapter = new DataAccessAdapter())

{

adapter.FetchEntity(customer, path);

}

orderGrid.DataSource = customer.Orders;

You can download the demo from http://llblgen.com/pages/demo.aspx

WiMAX

WiMAX is a wireless digital communications system, also known as IEEE 802.16, that is intended for wireless "metropolitan area networks". WiMAX can provide broadband wireless access (BWA) up to 30 miles (50 km) for fixed stations, and 3 - 10 miles (5 - 15 km) for mobile stations. In contrast, the WiFi/802.11 wireless local area network standard is limited in most cases to only 100 - 300 feet (30 - 100m).

With WiMAX, WiFi-like data rates are easily supported, but the issue of interference is lessened. WiMAX operates on both licensed and non-licensed frequencies, providing a regulated environment and viable economic model for wireless carriers.

WiMAX can be used for wireless networking in much the same way as the more common WiFi protocol. WiMAX is a second-generation protocol that allows for more efficient bandwidth use, interference avoidance, and is intended to allow higher data rates over longer distances.

The IEEE 802.16 standard defines the technical features of the communications protocol. The WiMAX Forum offers a means of testing manufacturer's equipment for compatibility, as well as an industry group dedicated to fostering the development and commercialization of the technology.

WiMax.com provides a focal point for consumers, service providers, manufacturers, analysts, and researchers who are interested in WiMAX technology, services, and products. Soon, WiMAX will be a very well recognized term to describe wireless Internet access throughout the world.

Comparison of Mobile Internet Access methods
StandardFamilyPrimary UseRadio TechDownlink (Mbps)Uplink (Mbps)Notes
802.16eWiMAXMobile InternetMIMO-SOFDMA7070Quoted speeds only achievable at very short ranges, more practically 10 Mbps at 10 km.
HIPERMANHIPERMANMobile InternetOFDM56.956.9
WiBroWiBroMobile InternetOFDMA5050Mobile range (900 m)
iBurstiBurst 02.20Mobile InternetHC-SDMA/TDD/MIMO64643–12 km
EDGE EvolutionGSMMobile InternetTDMA/FDD1.90.93GPP Release 7
UMTS W-CDMA
HSDPA+HSUPA
HSPA+
UMTS/3GSMMobile phoneCDMA/FDD

CDMA/FDD/MIMO
.384
14.4
42
.384
5.76
11.5
HSDPA widely deployed. Typical downlink rates today 1–2 Mbps, ~200 kbps uplink; future downlink up to 28.8 Mbps.
UMTS-TDDUMTS/3GSMMobile InternetCDMA/TDD1616Reported speeds according to IPWireless using 16QAM modulation similar to HSDPA+HSUPA
LTE UMTSUMTS/4GSMGeneral 4GOFDMA/MIMO/SC-FDMA (HSOPA)>100>50Still in development
1xRTTCDMA2000Mobile phoneCDMA0.1440.144Obsoleted by EV-DO
EV-DO 1x Rev. 0
EV-DO 1x Rev.A

EV-DO Rev.B
CDMA2000Mobile InternetCDMA/FDD2.45
3.1

4.9xN
0.15
1.8
1.8xN
Rev B note: N is the number of 1.25 MHz chunks of spectrum used. Not yet deployed.

AMR to MP3 Conversion in Linux

In Linux mode load three File’s.
1. Decoder
2. SOX
3. Lame


Decoder Takes Amr file and convert into .raw file. After this, SOX work, It Takes .raw file and convert into Wave File. It takes parameter. Here 8000 show Bit rate. Bit sampling in control in SOX. And finally Lame convert Wave file into mp3 file.
Syntax is :-


decoder amrfile. Raw.raw
sox -r 8000 -w -c 1 Raw.raw -r 8000 -w -c Wave.wav
lame Wave.wav MP3.mp3



How to configure SOX and Lame? Click this :-
http://www.opensource.or.ke/index.php?option=com_content&task=view&id=24&Itemid=26
How to convert AMR files to MP3 Click This :-
http://www.yolinux.com/TUTORIALS/LinuxTutorialMP3.html