C# - Comparing Framework To Cakephp, Zend , Ruby On Rails?

Mar 27, 2010

I am a PHP developer migrating to C# ASP.Net Framework. As of right now, I am experienced in using Php for developing sites and I use CakePhp and Zend framework as my RAD tools to produce better applications.

As I move over to ASP.NET, I have this view that C# ASP.Net framework itself is already a RAD tool and is equivalent to using Cakephp, Zend, or even Ruby on Rails. So I really shouldn't have no concerns trying to find a separate library for ASP.NET that will better applications. To me, in a sense the ASP.NET is already like a MVC cause it seperates the model from the view and the methods are almost like controllers.

View 1 Replies


Similar Messages:

MVC Versus Ruby On Rails

Nov 30, 2010

If you were starting a new web development project would you use ASP.Net MVC 2 or Ruby on Rails?

I have recently invested some time in to learning Ruby on Rails because I wanted to learn a solid web development framework. Then I took a new job where I will be using ASP.Net MVC 2.

I know this question is very subjective, but I am planning to write some websites on my own, outside of work, and I would like to get some opinions from others.

View 4 Replies

What Is Faster MVC Or Ruby On Rails

Nov 16, 2010

I am investing some time in learning ASP.NET and more specifically ASP.NET MVC and I am curious how it stacks up to the competition. I really like what I am seeing so far with the framework, and I think the icing on the cake would be if it shows rock solid speed like I have seen with some ASP.NET form sites.

Has anyone done or seen fair comparisons or benchmarks? I would be interested to see how ASP.NET MVC stacks up against other solutions such as PHP MVC too.

View 2 Replies

Is There An Equivalent To Ruby On Rails' Respond_to Format.xml, Etc In MVC

Jan 8, 2010

In Ruby on Rails you can write a simple controller action such as:

def index
@movies = Movies.find(:all)
respond_to do |format|
format.html #index.html.erb
format.xml { render :xml => @movies }
format.json { render :json => @movies }
end
end

For those unfamiliar with RoR, def index in this case would be the equivalent of public ActionResult Index() within an ASP.Net MVC Controller and would allow the following calls:

[URL] returns as an html page from the view index.html.erb (think index.aspx)[URL] returns the same data in xml format (@movies is the object containing the data all of the views use)[URL] returns a JSON string, useful when making javascript calls needing the same data/logic

An equivalent flow in ASP.Net MVC would (if possible) likely look something like this (if it could be less verbose, even better):

[code]....

View 3 Replies

Which Technology Is Best For A Facebook Application Ruby On Rails Or C#

May 13, 2010

My friend and I want to write a Facebook application. We've narrowed down the list of possible technologies to Ruby on Rails and C# with ASP. Here are the pros and cons we've thought of.

Cons:

ASP - proprietary tools like Visual Studio etc. cost (lots of) money. We both don't know ASP (although we're not bad at C#).

RoR - It's scripting so might be harder to maintain. My friend doesn't know RoR at all (but he's a fairly proficient programmer so will probably be able to pick it up quickly).

Pros:

ASP - Facebook has an official SDK for .NET.
RoR - I know RoR. It's open source, free and has fast development time.

What says the community? Is there something we haven't thought of?

View 2 Replies

Writing A Simple Webservice In C# And Calling It From Ruby On Rails

Mar 12, 2010

I need to create a simple webservice in C# but I'm not sure where to start (I've coded UI apps in C# before but all my web experience is in Ruby on Rails). Where do I start?

The only client for the webservice will be a Ruby on Rails app so there's no need for any HTML rendering. I was thinking of just returning a XML or YAML formatted string unless there's an easier way. I'm not too keen on SOAP but if it's easy/natural in C# & Ruby then I'd consider it (or anything else).

View 4 Replies

C# - How To Learn Ruby On Rails As A Complete Programming Beginner

May 8, 2010

I want to build a scalable dynamic Web Application. I have never programmed an Object Oriented language before. Or, let's just say I am completely new to programming, because the previous experiences aren't worth talking about.

I know I have a really big task ahead of me ^^ but I wanted to get into coding for the last 10 years and now that I'm finally doing it, I would like to know how to get there in the most efficient way.

Any good books/tutorials you could recommend?

View 4 Replies

Finding Good Ruby Tutorials On Rails Book For A Developer

Dec 3, 2010

I'm predominantly a .Net developer but am wanting to look into ruby on rails.

Has anyone else been in this situation? And can they recommend any good books/tutorials/general resources for someone wanting to cross over?

View 3 Replies

MVC :: Equivalent To Ruby On Rails "script/runner"?

Mar 29, 2010

I'm new to ASP.NET MVC and come from a Ruby on Rails background. In Ruby on Rails you can use the "runner" script (http://guides.rubyonrails.org/command_line.html#runner) to load up the app along with the rails framework and then run a script that accesses the model, etc. I use this to run scripts that fetch data from other databases and then insert it into my app's db using the methods on the model classes.s there a similar option in ASP.NET MVC?

View 3 Replies

Is There A Django Or Rails For The .Net Platform

Jan 20, 2010

Now before I dive too far into this this question, I am aware of nDjango and MonoRail; however, those project seem to be lacking.What I'm wondering is if there is a solution out in the .Net world that has the following features out of a single box like Rails has in Ruby or Django has for Python. I know tools that do pieces but am curious if there's 1 unified solution out there.

Database Versioning/Migrations
ORM or similar code gen
MVC-based
Pre-generated administrative screens
View generation
Theming / styling
(I'm sure I'm forgetting another cornerstone feature)


There's lots of options that cover one or more of these aspects but is there something in .Net that covers all of them?

View 5 Replies

C# - Equivalent To The Rails Auto_link Helper?

Feb 2, 2010

A fast function for scanning text for urls and turning them into html hyperlinks would be very nice... I'd write one but I feel like the odds of someone already having written one are high...

View 1 Replies

Security :: Joining .net And Ruby Project Via Common Membership Provider?

Nov 8, 2010

We have a very large .net site using the sql membershipprovider offered by .net. We need to join this to a ruby on rails project - allowing login to both platforms. The ruby project shoudl be able to read and write to the .net's profile information - but additionally may store extra records against the user. The .net user record should always be the master, with logins anthenticated against this. What is the best way to open up this membership provider - via api or similar. We need something that is easy to snap into the RoR solution but secure enough and extenable enough to meet our needs. Is there some way to add on openID or similar to the .net project - and would this be what is recommended or is there a better standard to allow us to link our users.

Other features we would need to have shared are: shared email address, email verification email for both platforms. Both systems have independent CRMs and email systems so unsubscribing from these would also need to be linked preferably with an independent unsubscribe system.

View 2 Replies

Configuration :: Running Framework 2.0 Application Within Framework 4.0 Website

May 18, 2010

I host a website that has recently been upgraded from .NET Framework 2.0 to .NET Framework 4.0. Within the website, I have an instance of BlogEngine which still requires .NET Framework 2.0. Each website is in it's own application pool. My issue is that when I browse to the blog portion of my website, I receive a 500.19 error with the following information...

The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration The web.conf file that is listed in the error message is the config file that belongs to my root website which is running .NET Framework 4.0. How do I get the two websites to run together in the same website using different versions of the .NET Framework?

View 2 Replies

Comparing A Random Value With An Entry?

Nov 4, 2010

i have a simple application which i couldnt run correctly. My codes;

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
protected void Page_Load(object sender, EventArgs e)....

When i run that page, and enter the same number with label1 to textbox1 and click to the button, first label1 changes to another number and so the comparement does not match.

View 6 Replies

VS 2008 - Comparing Data Using ADO.NET

Aug 6, 2010

How can I compare the data using ADO.NET. I have wrote the following code but don't know what to do next
Code:
Sub LoginCheck()
Dim Conn As OleDbConnection
Dim DbCmd As OleDbCommand
Dim SqlCmd As String
Dim DbRead As OleDbDataReader
Dim MyDbPath As String
MyDbPath = "C:Documents and SettingsAdministratorMy DocumentsVisual Studio 2008WebSitesHwManApp_Data/hwMan.mdb"
Conn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;data source=" & MyDbPath)
Conn.Open()
SqlCmd = "Select * from UserInfo where UserId='" & txtUserName.Text & "' and UserPass='" & txtPassword.Text & "'"
DbCmd = New OleDbCommand(SqlCmd, Conn)
End Sub

View 16 Replies

Comparing Date Values?

Sep 13, 2010

I have records that have an initial value of 'blue' and stay 'blue' until after 2 days then they turn to 'green', Turn 'orange' after 15 days and then after 20 days turn 'red'.The results will be pulled into a gridview.What I'm having difficulty is; what's the best way of calculating the days, in sql server or in c#?Trying to get construct date examples is proving to be a bit of a pain:

[Code]....

has anyone done something similar and found a good way of doing this?

View 10 Replies

Comparing Decimal Values In C#

Feb 22, 2010

I have a few values in c#, how do i compare if a variable is equal to 5.5 ?

here is my code

double res = 4.5;
double ehi = 5.5 ;
bool
ehi= decimal.Compare( res, ehi);

View 3 Replies

C# - Comparing Nullable DateTime's In VB.net?

Nov 17, 2010

I am a c#/asp.net developer and I am having to work on a VB/asp.net. I started out with VB.NET but after years away from it I'm getting confused with the syntax.

I have two variables

Dim originalDate as DateTime?
Dim newDate as DateTime?

Both nullable datetimes, originalDate is a nullable date I am getting from the database and newDate time is set in code, I need to compare them, they can either both have dates, neither have dates or one have and one not.

I have a bit of code as follows:

if origEndDate = origEndDate then

When both origEndDate and origEndDate are "nothing" this statement is false (well when I run it in the watch window it comes back as nothing)!

I don't understand why this is the case because I was under the impression doing an "=" compares the two values and as they are the same surely it should be true?

What syntax should I be using as in C# I can do the above as so:

if (origEndDate == origEndDate) { }

and it will come back as true.

View 4 Replies

C# - Comparing Viewstate And SessionState?

Jul 7, 2010

I set ViewState["zzz"] and Session["zzz"] to the same string.

When I compare using == I get false.

When I do ViewState["zzz"].Equals(Session["zzz"]), I get true.

In the debugger, both their values show the same string, and when I do

? ViewState["zzz"] == Session["zzz"]

I get false.

I thought the ViewState StateBag Item defaults to the set value and the Session Item defaults to the value as well?

View 1 Replies

Web Forms :: Comparing Dates (vb.net)?

Jan 22, 2011

I am having trouble comparing two dates. One is captured from input, other one is predefined. Please see the code below: I enter this date in the textfield: 04-12-2001

Dim idatum As Date
If Date.TryParseExact(aankoopdatumIDclm.Text, "dd-mm-yyyy", Nothing, System.Globalization.DateTimeStyles.None, idatum) = False Then 'idatum is true at this point...

[code]....

View 2 Replies

Comparing Date In String Format?

Sep 28, 2010

I have a program that is using credit card info and the expiration date is selected by the user clicking a dropdownlist for the month and a dropdownlist for the year. I want to show a label message if the user tries to proceed while the month and year are evaluated as being earlier that the current month/year.

View 4 Replies

Submitting And Comparing Float Values?

Jan 23, 2011

I have a problem that I have to enter float values in my database from a textbox. The problem is I want to enter only float values upto two decimal places(like 12.34, 56.78, etc). How do I do this.? Do I need to first convert the values from my textbox (string values) to Int64 before submitting?

My second problem is that I have to compare that float value in my database to a value in another text box. I am using this sort of code:

[Code]....

View 3 Replies

SQL Server :: Comparing Datetime Field In DB?

Sep 7, 2010

I need to check the datetime field in my DB to see if the time that's current set is 12hr's past?What's the command to use? Can I just DATEDIFF?

View 4 Replies

SQL Server :: Comparing Rows In A Table?

Mar 11, 2011

I have a large database of user profile data. I need to be able to compare 1 row against all of the other rows, for all columns to find the best match.There are around 30 columns of data for each row. I need to be able to find the 5 best matching rows.

I.E.
Row 1 matches on 2 column's
Row 2 matches on 12 column's
Row 3 matches on 7 column's
Row 4 matches on 4 column's
Row 5 matches on 9 column's
Row 6 matches on 23 column's
Row 7 matches on 29 column's

In the end it will show me the data for rows 7, 6, 2, 5, 3 Now to make it even harder, Some of the columns are bit, some are varchar.Some of them may be a direct match, some will need to search if the column for row2 contains the text of row 1.

View 6 Replies

ADO.NET :: Comparing Text In TextBox With Another Value In Table?

Jul 28, 2010

I want to compare value in textbox with some value in my table .

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved