Note that there are some explanatory texts on larger screens.

plurals
  1. PODjango: Moving from XAMPP to Django questions
    primarykey
    data
    text
    <p>I've worked with XAMPP, WAMPP, MAMPP, etc and am starting to look at Django.</p> <p>A majority of the work we do is very CMS orientated; although we've been told not to use third-party CMS' (mainly because of user's find them hard to use, and other issues), I've found that I can code a very simple CMS using Cake, CodeIgniter or one of the other PHP frameworks.</p> <p>And yet, I'm getting increasingly frustrated with the amount of coding I need to do just to get something up and running, and I've been told that Django is a good Python framework to use. It also seems to get a lot of buzz from reddit.</p> <p>I have some concerns and queries about moving from XAMPP to Django.</p> <p>1) Security</p> <p>Any web app should be coded defensively. Over the past few years we've seen a movement towards protecting against XSS, SQL injections, Cross site forgeries, session fixation, session hi-jacking, cookie hi-jacking; the amount of security one needs can be overwhelming. </p> <p>What things does Django do to prevent/limit XSS, SQL injections, Javascript injections, and santizing input; one normally associates with securing PHP web apps? Is it something I need to worry about, or does Django do all this stuff out of the box.</p> <p>2) What goes in the /www/ public folder?</p> <p>In a manual I read it said not to put manage.py or the other .py stuff in the main webroot, so this means I put everything outside of the webroot; so what goes in there?</p> <p>Do I put the /templates/ directory inside the webroot? How does the server know what to run?</p> <p>3) Can I still use .htaccess on Django projects? I am familiar with Apache and often use it to do routing, or blocking off bad bots, but will using .htaccess still work?</p> <p>4) Cronjobs</p> <p>Do cronjobs still work with Python/Django projects?</p> <p>5) Running Third party perl/other scripts</p> <p>In PHP you can use other libraries such as the curl library, ffmpeg, ImageMagik as well as many others; can I still use these libraries with Python/Django?</p> <p>6) Admin screen</p> <p>Django gives you an out-of-the-box admin screen; is this only for development purposes or can it put live? I am concerned about any the security of the admin screen.</p> <p>7) Integration with Discuss, Facebook, Twitter, OpenID, captcha, etc.</p> <p>There are libraries in PHP that help integrate DisQuss, Facebook, Twitter; but is it relatively easy to do an integration with these and other third party apps?</p> <p>8) E-commerce, SSL </p> <p>Are there many e-commerce sites that use Django? I've seen a lot of CMS/Blog type software but not many e-commerce sites. By which I mean, shopping card, Protx/Paypal or Worldpay integration.</p> <p>That's another thing; there are sandboxes for Protx, Paypal, Worldpay etc for PHP -- but are there any for Django?</p> <p>9) Is it worth it?</p> <p>Is it worth moving to Django from an XAMPP background? Will it really make things faster, or is that just marketing hype?</p> <p>Thanks.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload