Python Django Versus MVC

May 21, 2010

break up the pros and cons of using python django vs asp.net mvc besides the maturity level of its framework. I have intermediate experience with JAVA. As of right now, i'm leaning towards python but i just wanted to make sure i am making the right choice.

I find myself limited with books available on asp.net web developments. I am aware that there is the storefront example on the official asp.net site. However, that tutorial was a little hard for me to follow. I've done a research around and was python could be my next available choice. There are more tutorials available online for python anyways.

View 1 Replies


Similar Messages:

Is It Possible To Run Python And Django On IIS

Jan 21, 2010

Is it possible to run Python & Django on IIS? I am going to be a Lead Developer in some web design company and right now they are using classic ASP and ASP.NET.

As far as I can see ASP.NET MVC is not mature. Should I recommend Python & Django stack? If it's not possible to run Python on IIS what do you think I should do?

Can I run IIS and Apache in parallel?

View 2 Replies

Configuration :: Deploying Versus Releasing Versus Implementing

Sep 16, 2010

What is the difference between; Deploying an application Releasing an application Implementing an application

View 1 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

What Is Django On IronPython.Net Status

Nov 18, 2010

I searched the web and stackoverflow, but unfortunately, have not found any definite answers on whether or not Django is properly supported in IronPython.Net.

At work, I have some tools I would to develop in Django and Python, but from what I have read, Django is not really supported in IronPython.Net.

View 1 Replies

Application_Start Versus OnInit Versus Constructor?

Jul 23, 2010

I've gone rounds with this ever since I started programming classic ASP 12 (or so) years ago and I've never found a great solution because the architecture of ASP and ASP.NET has always been a swamp of bad practices, magic shared singletons, etc. My biggest issue is with the HttpApplication object with its non-event events (Application_Start, Application_End, etc.).

If you want to do stuff once for the entire lifespan of an HTTP application, Application_Start is the obvious place to do it. Right? Not exactly. Firstly, this is not an event per se, it's a magic naming convention that, when followed, causes the method to be called once per AppDomain created by IIS.

Besides magic naming conventions being a horrible practice, I've started to think it might be a reason there exist no such thing as a Start event on the HttpApplication object. So I've experimented with events that do exist, such as Init. Well, this isn't really an event either, it's an overridable method, which is the next best thing.

It seems that the Init() method is called for every instantiation of an HttpApplication object, which happens a lot more than once per AppDomain. This means that I might as just put my startup logic inside the HttpApplication object's constructor.

Now my question is, why shouldn't I put my startup logic in the constructor? Why does even Init() exist and do I need to care about Application_Start? If I do, can anyone explain why there is no proper event or overridable method for this pseudo-event in the HttpApplication object?

And can anyone explain to me why in a typical ASP.NET application, 8 instances of my HttpApplication are created (which causes the constructor and Init to run just as many times, of course; this can be mitigated with locking and a shared static boolean called initialized) when my application only has a single AppDomain?

View 2 Replies

Migrating C# Membership Users To Django Without Resetting Passwords?

Jan 27, 2011

I've got a system that was partially written by someone else and is a complete maintenance nightmare for such a small app. I've finally been given changes which justifies just rewriting the horrible mess so I am moving it to Django.

Before I take the plunge, I've been trying to move over the password hash and salt into the Django auth tables [sha1]$[salt]$[hash] but can't get it to hash properly (resetting passwords isn't really an option).

Here is what I've been able to find out so far:

ASP.NET stores the hash as base64 string and uses a base64 salt (before hash) I can obviously reverse the base64 hash to a byte array Django uses a hexdigest, I tried BitConverter.ToString but they hash differently

View 1 Replies

How To Run A .py (Python) File In C#

Nov 8, 2010

I have a GetList.py file which consumes Web Service and saves the output in XML on the server.

How do I invoke GetList.py so it saves the output in XML on the server before displaying the XML output in .ASPX page?

View 3 Replies

Calling Python App/script From C#?

Jun 9, 2010

I'm building an ASP.NET MVC (C#) site where I want to implement STV (Single Transferable Vote) voting. I've used OpenSTV for voting scenarios before, with great success, but I've never used it programmatically.

The OpenSTV Google Code project offers a Python script that allows usage of OpenSTV from other applications:

import sys sys.path.append("path to openstv package")

from openstv.ballots import Ballots
from openstv.ReportPlugins.TextReport import TextReport
from openstv.plugins import getMethodPlugins
(ballotFname, method, reportFname) = sys.argv[1:]
methods = getMethodPlugins("byName")
f = open(reportFname, "w")
try:
b = Ballots()
b.loadUnknown(ballotFname)
except Exception, msg:
print >> f, ("Unable to read ballots from %s" % ballotFname)
print >> f, msg
sys.exit(-1)
try:
e = methods[method](b)
e.runElection()
except Exception, msg:
print >> f, ("Unable to count votes using %s" % method)
print >> f, msg
sys.exit(-1).......

Is there a way for me to make such a Python call from my C# ASP.NET MVC site?

View 2 Replies

.net - Using Python Code In Web Forms App?

Apr 7, 2010

I would like to use some code written in python (it uses built in modules) in a regular ASP.NET/C# web application. I am a newbie in python and have heard of IronPython and how ASP.NET now allows us to create IronPython apps.

Any thoughts on which way I should proceed? The python code is the on here

View 1 Replies

Scraping .aspx Content Using Python?

Apr 29, 2010

I'm having difficulties scraping dynamically generated table in ASPX. Trying to scrape the gas prices from a site like this GasPrices. I can extract all the information in the gas price table (address, time submitted etc.), except for the actual gas price.

Is there a way I could scrape the gas prices? i.e. somehow get a text representation of it. I'm not very familiar with ASP/ASPX - but what's being generated now is not showing up in the final HTML. I'm using Python to do the scraping, but that's irrelevant unless there's a specific library...

View 1 Replies

C# - Execute A Python Script In .NET Application?

Jun 18, 2010

When user click Build button Phython script needs to run.I execute this by using process but so many processes created when so many clicked the Build button, server hang.

View 1 Replies

.net - Get CodeExpression From String Of Python Using IronPython?

Mar 3, 2011

I'm trying to get a CodeExpression from a string of python. It seems possible since some of the DLR docs mention CodeDom classes but I haven't been able to find any examples or better docs. Any insight or psuedocode appreciated...

FYI, the use case here is to make an Asp.Net ExpressionBuilder that can evaluate python to use in SharePoint 2010. Let me know if there's anything like this out there!

View 1 Replies

Web Forms :: Can Embed Python Code In Web Apps

Jun 2, 2010

Does the DLR only work for console applications?

I would like to embed Python code in an ASP.NET Web application.

View 11 Replies

Web Forms :: Web App Cannot Find Python CPickle File?

Jun 30, 2010

How do I tell an ASP.NET Web application to look in the current directory for a .pkl file? This file is read in an embedded Python script.So far, I get a FileNotFound exception stating:

[Could not find file 'C:Program Files (x86)Common FilesMicrosoft SharedDevServer10.0 2.pkl'.]

View 1 Replies

Retrieving Information With Python's Urllib From A Page That Is Done Via __doPostBack()?

Apr 11, 2010

I'm trying to parse a page that has different sections that are loaded with a Javascript __doPostBack() function.

An example of a link is: javascript:__doPostBack('ctl00$cphMain$ucOemSchPicker$dlSch$ctl03$btnSch','')

As soon as this is clicked, the browser doesn't fetch a new URL but a section of webpage is updated to reflect new information.

What would I pass into a urllib function to complete the operation?

View 1 Replies

Php - Does Disabling Unused Languages [Python CGI Perl] In PLESK8 Speed Up PHP5 On Apache Server?

Mar 27, 2011

Inspecting om my PLESK 8.2 on APACHE2 with PHP 5.2.3 I saw this. Being a person who loves peed, would I gain anything by disabling all the stuff except PHP? which is the only thing I use really? I'll do anything to speed up my site.

View 1 Replies

VB.Net Versus C Sharp

Aug 18, 2010

which is the better language in terms of coding, proficieny if we compare between VB.Net and C Sharp.

View 7 Replies

Winform Versus MVC

Jun 1, 2010

I want to know when to use winform and MVC asp.net

View 11 Replies

SQLDataSource Versus ADO.NET

Mar 8, 2011

If I want to connect to a database in ASP.Net, is it better to use ADO.NET rather than SQLDataSource? They serve a similar purpose, correct?

View 7 Replies

Website Versus Web Application

Mar 29, 2010

I am using VS 2008/VB.Net and am trying to figure out if I should use a "Website" or a "ASP.Net Application" project type.

I have to create an online tool to allow users to manage data, there should be no more than 5-10 users at a time on the system. I need to use Profile/Membership with the tool.

I plan to use the <correction> N-layer </correction> (not "n-tier") architecture with a Business layer and DB layer.

I am wondering about the advantages/disadvantages of each.

Is the "website" model really outdated? I notice that the Website model has in built support for many more namespaces but with asp.net application does not, you have to add a lot of references.

View 5 Replies

CSS Versus Master Page

Jul 31, 2010

my application uses a master page from which every other page inherits and also an external style sheet.

the problem i have is that once a messagebox pops up while running the application(maybe due to an error that was caught) the "content" part of the page loses the styles that were applied to them from the external style sheet. Only the Master page part of the page still retains the external styles.

assistance, will be very welcome.

Incase this might be useful too: i use the Response.Write method to call the javascript "alert" function to display pop ups.

View 2 Replies

ViewModels Versus Presentations, Or Both?

Apr 28, 2010

Previously to learning about ViewModels and AutoMapper, my infrastructure project had the following classes defined:

Csharp Code:

[code]....

View 2 Replies

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

SqlDataSource Versus ADO.NET Coding With C#

Feb 25, 2011

I really do not have time to learn new language, in my case asp.net, but would like to start developing website in asp.net. I do not want to use asp:SqlDataSource control. is it ok if i write in codebehind aspx: all database connections and other CRUD operations in ado.net and c#. I already know xhtml, javascript - jquery, css, xml, json, some knowledge in sever-side coding (before php). want to start coding, instead of learning messy asp.net controls.I have to sit and learn all bloody ways of using those asp.net controls?

View 2 Replies







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