Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,133 members, 7,818,403 topics. Date: Sunday, 05 May 2024 at 02:37 PM

Cocoon's Posts

Nairaland Forum / Cocoon's Profile / Cocoon's Posts

(1) (2) (of 2 pages)

Programming / Re: Java Or .NET Guru Needed In Abuja by cocoon(m): 1:23pm On Apr 06, 2018
Yes. .net,
Programming / Re: Java Or .NET Guru Needed In Abuja by cocoon(m): 9:03am On Apr 06, 2018
Hello, am interested.
Programming / Re: iOS and Android App Development with Xamarin by cocoon(m): 10:55am On Aug 14, 2015
Hi, I would advise you not to use Xamarin. I have developed ipad,iphone ,Android mobile and tablet apps with it. The only good side was coding with C# , using async , using xaml and all the necessary c# features. Xamarin is now free for students. But the downside is the xamarin framework itself. Its over-hyped. Xamarin is not ripe enough. Xamarin libraries sometimes break whenever there is a new feature from either apple or google. It was a sad experience because you do not have access to the source code to fix those bugs. You would have to wait weeks for their developers to fix them! In order to develop a good mobile application with xamarin you need a very good understanding of how IOS and Android works (since you need to learn ios and android why not code with them?). Apps developed with xamarin are slower than the true native apps. Xamarin apps are larger compared to the native apps. you might not get more jobs with it compared to and android or ios native developer. I have used the Business Edition. Although Xamarin Android and Xamarin IOS are slightly better than Xamarin Forms. But the native apps are the best ( Java ,Objective C, swift).

Best of luck. bro

1 Like

Software/Programmer Market / Re: Urgent: Joomla Programmer Not Modifier Needed by cocoon(m): 12:31pm On Sep 26, 2011
Joomla Programmer
Programming / Re: Java Vs PHP: Which Has The Brightest Future? by cocoon(m): 12:06am On Sep 06, 2011
Thatdave:


PHP's longtime competitor was ASP . But not any more. PHP has smashed microsoft product on the walls in recent years.



Really? Have u heard of asp.net ?

Have u heard of
1. WPF
2. WCF or WCF RIA
3. WF
4. Entity Framework / NHibernate /ActiveRecord / Ado.net /Microsoft Enterprise Library 5
5. Silverlight / Microsoft Enterprise Library For Silverlight
6. LightSwitch
8. CLSA Framework / Prism 4
9. Dependency Injection /Ninjet /Castle Winsor/Unity Framework
10. Asp.net MVC 3
11 .LINQ
12 .PLINQ
Programming / Re: What Is Your Favorite Testing Setup/toolchain? by cocoon(m): 10:23am On Sep 05, 2011
For C# I test with Microsoft Unit Test Framework or NUnit and the lovely framework, RhinoMock (for handling mock,stub,dummy) .
For PHP i prefer PHPUnit and of course JNUnit for java.

For Silverlight RhinoMock Sivlerlight Framework (for handling async calls mostly with WCF).

Yet it depends on the kind of project.
Programming / Silverlight 5 Rc Now Available by cocoon(m): 9:25am On Sep 02, 2011
This RC is a developer-only release (there is no go-live license), designed to get you read for the final release later this year. Use this release to update your SL5 beta code to work with the namespace and reference changes, and to use the new features.

This isn't the final release, so please go out and test it, and report any bugs you find


features included in this release are:

P/Invoke support for calling native functions
64 bit support (yay!)
Vector (Postscript) Printing
Remote Control and Media Command Support
DataContextChanged event
In-Browser Trusted Applications
PivotViewer Control
Power awareness for media apps (keep the PC alive while a movie is playing, for example)



http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27220


This download will install all components necessary for Silverlight 5 RC and Microsoft WCF RIA Services V1 SP2 Preview (April 2011) development:

Silverlight 5 Beta Developer Runtime
Silverlight 5 Beta SDK (software development kit)
Update for Visual Studio 2010 Service Pack 1 and Visual Web Developer Express 2010 Service Pack 1 (KB2502836)
Microsoft WCF RIA Services V1.0 SP2 Preview (April 2011)


I cant wait for the final release cos of the some of the new features like

1.Debugging Bindings with Xaml Breakpoints
2.Supporting Double and Even Triple Click for the Mouse (u just need to specify the no)
3.Advancements in Text
Programming / Re: Java Deployment Help by cocoon(m): 10:01pm On Aug 31, 2011
I think this is what the guy needs: Connector/MXJ


"MySQL Connector/MXJ is a Java utility package for deploying and managing a MySQL database. Connector/MXJ may be bundled with an existing Java application as a "plain old Java object" (POJO), as a Connector/J socket factory, or as a JMX MBean.

Deploying and using MySQL from Connector/MXJ can be as easy as adding an additional parameter to the JDBC connection url, which will result in the database being started when the first connection is made. This makes it easy for Java developers to deploy applications which require a database by reducing installation barriers for their end-users.

MySQL Connector/MXJ makes the MySQL database appear to be a java-based component. It does this by determining what platform the system is running on, selecting the appropriate binary, and launching the executable. It will also optionally deploy an initial database, with any specified parameters"


this is the download link

http://www.mysql.com/downloads/connector/mxj/

this is a short tutorial on how to embed mysql into java app

http://www.jroller.com/mmatthews/entry/yes_it_really_is_this

hope it helps
Programming / Re: Developing A Professional Bluetooth Instant Chat Messenger With Java by cocoon(m): 4:06pm On Aug 30, 2011
Well done!

But

"I don't think Netbeans has a user interface enhancer and I don't have J2ME polish to polish up the interface so that it looks like Opera Mini"

I think u can enhance it with the netbeans mobility (its has a toolbox for j2me components), u can just play around with the properties of the tools. You can also include Ticker (for scrolling messages) .
You can use fireworks or photoshop to design the splashscreen (Pick relevant image online ,resize and add some texts).
You can design an icon with photoshop or pick one online which u will package with the application .
Download Nokia J2me toolkit for signing ,packaging ,verifying ,testing and i think ,enhancement.

All the same welldone.
Programming / Re: Developing A Professional Bluetooth Instant Chat Messenger With Java by cocoon(m): 11:31am On Aug 10, 2011
@Number_One. Thanks alots for the reminder.
Programming / Re: Entity Framework 4.1 by cocoon(m): 11:22am On Aug 10, 2011
I just remember that there was a little error ,this class

public class Student
{
int MatricNo{get;set;}
string FirstName{get;set;}
string LastName{get;set;}
string CourseName{get;set;}
}

should have been

public class Student
{
int Id{get;set;}
string FirstName{get;set;}
string LastName{get;set;}
string CourseName{get;set;}
}


meaning Id and not matricNo
when u use matricNo and compile,it will not compile and it will prompt u for an ID, as in, something like a primary key to uniquely identify the table Students
Programming / Re: Developing A Professional Bluetooth Instant Chat Messenger With Java by cocoon(m): 1:29pm On Aug 08, 2011
Hmm, U know what I ll take my time to do a sample program on J2me with bluetooth and i ll try to post it here as a tutorial before the week runs out. Using j2me wireless tookit and netbeans 7.
Programming / Re: Developing A Professional Bluetooth Instant Chat Messenger With Java by cocoon(m): 11:40am On Aug 08, 2011
I bet you have not read the first 2 pages in that chapter.

Why did u say so?
Programming / Re: Developing A Professional Bluetooth Instant Chat Messenger With Java by cocoon(m): 3:12pm On Aug 06, 2011
u can use this as well http://www.javabluetooth.com/chapter3.pdf
I wrote the program sometimes ago.But i cant remember where it is.

i think u ll need javax.bluetooth , java.util and javax.obex (it depends )

download J2ME toolkit check the sample files in it . i think there is a sample on bluetooth

To make it easy for u download netbeans with mobility.
Programming / Re: Ms Sql Server 2005 by cocoon(m): 3:06pm On Aug 04, 2011
What errors are u getting?
Programming / Entity Framework 4.1 by cocoon(m): 12:10pm On Aug 03, 2011
Lately I was helping a friend out on an a small app with EJB 3.1 (statelessbean) with jsf . Prior till then i was work on a Silverlight WCF RIA prism application with entity framewok 4.0. When i looked at the entity model in java which allows both code- first and model- first approach i tried to find the equivalent in .net entity framework, then i remembered that the code-first approach was missing in .net ,though ,there are other options like NHibernate ,etc. lately ago microsoft has come up with the latest version on the Entity Framework: Entity Framework 4.1 update which now has both the code-first approach and the model approach.

Some of the Features of Entity Framework 4.1

1. Code-First Approach : You write your classes and the database,tables will be created automatically for u

2.Relationtioships with the tables will automatically be created for u

3.now u write very little code to achieve alot.


Sample

assuming u have a class Student that u like to persist

public class Student
{
int MatricNo{get;set;}
string FirstName{get;set;}
string LastName{get;set;}
string CourseName{get;set;}
}


Step 2:

Add a reference to the EF 4.1 lib and create another class StudentDataContext that inherites from DbContext

public class StudentDataContent: DbContext
{
public DbSet<Student> students{get;set;}
}


Step 3:

Modify the app.config or web.config

<connectionStrings>

<add

name="StudentDataContent"

providerName="System.Data.SqlClient"

connectionString="Server=.;Database=StudentDb;Trusted_Connection=true;"/>

</connectionStrings>



step 4:

The code to persist

public class DbRoutine
{


public DbRoutine()
{
}


void SaveStudent()
{

using (var db = new StudentDataContent())

{

var student=new Student{FirstName="Ade",LastName="Ola",CourseName="Marketing"};

db.Students.Add(student);

db.SaveChanges();

}

}
}


After this just check ur sqlserver db the database and the schema would have been created with Matric No as the primary and indentity key.

Although there is still more work to be done by microsoft in other to make the EntityFramework a truly ORM .
(This short tutotial was written in haste pardon me for any error found)
Programming / Re: Asp.net Mvc Vs Asp.net by cocoon(m): 11:04am On Jul 15, 2011
MVC has been around for sometime which is one of the design patterns , but its ideal for web applications. But microsoft has try to standardize it by creating a framework for it to easy the development of web apps. I think the current version is MVC3.

WHY USING MVC?
1.It makes your code testable e.g Unit testing and intergrated testing

2.It makes your code maintenable ,scalable ,modular ,and robust if properly utilized.

3.U can easily incorporate Dependecy Injection, Inversion of control and Dependency injection container e.g Unity framewok,MEF

4.It gives u a standardize approach to ur web applications most importantly when working as a team.

5. MVC3 reduces the no of codes u write

6. Makes validation easy with the usage of decorations e.g

[Required]
public int SerialNo{get;set;}
Programming / Re: Page Directive In Asp.net by cocoon(m): 10:40am On Jul 15, 2011
Page directives are instructions, inserted at the top of an ASP.NET page, to control the behavior of the asp.net pages. e.g

<%@ Page attribute="value" [attribute="value", ] %>

Async :
Programming / Re: I Want To Learn Computer Programming, What Language Should I Learn First? by cocoon(m): 2:11pm On Jun 21, 2011
@Damonswagg u can send me a mail
Programming / Re: I Want To Learn Computer Programming, What Language Should I Learn First? by cocoon(m): 6:17pm On Jun 13, 2011
I think u should start by learning C# or Java

But i prefer C#.

But u need to really undertand Object Oriented Programming (OOP). Its the foundation of the modern programming languages.

Download visual studio 2010 express edition.

U should be really to read , study a lot (If u cant read , then this profession is not for u)

Get good books , How to program c#, c# in a nut shell, HeadFirst c# , etc .

Join Programming forums , codeproject ,codeguru etc

Get good Training Videos.

Once u have gotten to a state (once u have fully grasped the meaning of an interface ,abstract class, object)

Then start learning Design Patterns (Gang of 4 and other patterns)

Learn unit testing

Apply Test Driven Development.
Goodluck.
Programming / Re: How Do U Program? Debug As U Code Or Debug After Coding? Which Is Best? by cocoon(m): 4:41pm On Jun 13, 2011
A good design is the bedrock of a successful program, i mean the architecture.
U can design on paper but u there are some nice design tools online
SketchFlow is a good tool ,part of Expression Studio


But there are other things involved.

U need to understand some certain principles.

A good software needs to have some principles called SOLID

Single responsibility principle

Open/closed principle

Liskov substitution principle

Interface segregation principle

Dependency inversion principle


U can read them up online

It depends on what type of app u are developing

Desktop - MVP
Web - MVC
Silverlight/ WPF - MVVM

U could use any pattern for any app ,but these are tested and mostly prefered patterns.

Test Driven Development -Test first before coding

There is white box testing and Black Box testing

U do white box testing before ur production code -- Unit Testing (see my first post earlier)

When u unit test , u break each component of ur app into units or bits and isolate each one and test seperately without any dependency

e.g in ur data access layer (DAL) , u have an interface IDatabaseTasks

using System
namespace DbAccess
{
public IDatabaseTasks
{
//Method for adding a record
int AddUser(User user);

//Method for Updating a record
int UpdateUser(User user);

//Method for Deleting

int DeleteUser(int userId);
}

}


Then Create the concrete Class

public class DatabaseTasks:IDatabaseTasks
{
public string UserName{get;set;}

public DatabaseTasks()
{
}

int AddUser(User user)
{
}

int UpdateUser(User user)
{

}

int DeleteUser(int userId)
{
}

public override ToString()
{
return UserName.ToString();
}
}


In order to tested each method effectively without connecting to any database.

U will have to do a unit test. Test each method. Isolate each method

Create a test project. Each programming language has a testing api
Java - junit
.net - Ms Unit,Nunit,RhinoMock
php - Phpunit
Jquery,JavaScript - FuncUnit
Sql (StoreProcedures, Triggers,View) - SqlUnit or DatabasetUnit in Visual Studio

The mocking Framowork will implement the interface automatically for u

e.g.
using Nunit;
using RhinoMock;

public class DatabaseTasks.Tests
{
var mockDatabaseTasks=MockRepository.GenerateMock<IDatabaseTasks>();

[TestFixture]
public void AddUser_AddANewUser_ReturnNumberGreaterThanOne()
{
}

[TestFixture]
public void AddUser_DontAddANewUser_ReturnNumberLessThanOne()
{
}



}

Even if u are using netbeans u can download some other testing frameworks (i think junit came with netbeans )
Pass ur tests

Then go back to the Class DatabaseTasks and write the implemtation (Production code).
Debug
Refactor

Write another class
Follow the same procedure

once u are tru. u can do an integrated testing where u need to connect to a database
Programming / Re: How Do U Program? Debug As U Code Or Debug After Coding? Which Is Best? by cocoon(m): 7:23pm On Jun 11, 2011
I think Debug as u code coupled with unit testing is better. Basically i use TDD. Its most efficient once u are familliar with unit testing.

1. Write a skeletal code

2. Unit test

3. Make the test pass

4. Refactor

5. Write Production code

6. Debug Production Code

7. Refactor


IF u are conversant with Agile,XP or Lean the process makes u to be most efficient
Programming / Re: C#. Net Training by cocoon(m): 1:21pm On Apr 21, 2011
Venue: Akowonjo
Programming / C#. Net Training by cocoon(m): 11:45am On Apr 21, 2011
Building Software Application with
Windows Form, WPF
Model View Presenter (M-V-P) Design Pattern
WCF, LINQ, ADO.NET, Microsoft Enterprise Library
Unit Testing with Microsoft Testing Framework and Rhino Mock
Intro to SqlServer 2005 and Mysql Database
Intro to Source Control


Start Date: Monday, 27 -04 2011
Duration: 2 Months
Training Cost: N50, 000
Become a competent Software Developer/Programmer

Call on 08025352804, 08161589236
Software/Programmer Market / Re: Financial Applications Programmer by cocoon(m): 5:02pm On Apr 05, 2011
.com
Phones / Re: nokia su-33w tv receiver update by cocoon(m): 10:30am On Oct 09, 2010
@ceejay80s can u please suggest how i could watch liveTV on my TV. my fone is N96 vodafone branded but it has been debranded. the firmware version is 30.033. Thanks
Programming / Re: Joomla Editor Issues by cocoon(m): 6:34pm On Sep 01, 2010
Check ur installation properly. Follow the installtion process properly. Enable all that has to be enable and disable those that has to be enabled during the first step. And check whether the template is for joomla 1.5 and not for 1.0. If its for 1.0 enable the legacy plugin.
Fashion / Re: Hair Relaxers: Kit Or Cup? by cocoon(m): 5:39pm On Apr 17, 2007
Hair
Programming / Re: 10 Reasons Why .NET Is Better Than Java by cocoon(m): 9:45pm On Apr 15, 2007
It has rather been very educating with the different views. But i strongly believe that we all programmers are one ,we have this great bond as logical thinkers ,
1.we share resources
2. Educate one another
3. Support one another most especially when working
4.promote one another , etc

I have coded in both languages. They are both good.
I would have prefered if the topic has been rephared as "WHY I PREFERED .NET TO JAVA"
Some how along the way ,there had been some pesonal grudges
Though the discussions were quite educating, but the tones were rather high.

There are more better ways to express ones feelings or views without hurting the other party(s).

IG, Sbucareer , i think u guys are great programmers,
Programming / Re: Vb.net For Dummies: by cocoon(m): 4:17pm On Mar 30, 2007
Actually i could help out on c#.net or ASP.NET using c#
Art, Graphics & Video / Re: 3dsmax/maya Video Tutorials? by cocoon(m): 4:43pm On Mar 28, 2007
I use 3dsmax ,Maya and light waves . I teach as well
Programming / Re: Firebird Or Oracle by cocoon(m): 9:15pm On Mar 27, 2007
I have worked extensively with most database ,especially sqlserver 2000 ,oracle ,mysql . I can tell u point blank that during one of my projects with sqlserver 2000, it got to a stage dat some things could not be implemented in sqlserver2000 ,then microsoft said all would be possible with 2005 version. OK. Oracle database is still the best. though its not as user friendly as mssql

Though sqlserver 2005 is very tight and bundled with data mining : which has been in oracle since, ,etc

Open source is truly the best for development and not for production: Easy php with mysql

the one i found easiest for development is easyphp with mysql ,its easier than sqlserver2000

i agree with sbcareer

(1) (2) (of 2 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 74
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.