From: Ashley Sheridan on 25 Aug 2010 14:54 On Wed, 2010-08-25 at 13:45 -0500, Tim Martens wrote: > Hi Everyone, > > New to the list. Hello! > > I'm in the customer discovery phase for a Health IT web application concept > I have. My programmer is new to web apps, but not to programming and is set > up with LAM(PHP). We're still debating weather to use a framework or to go > with Rasmus's "no framework framework" approach. > > Language/Framework decisions aside... my main question is about subdomain ( > customerx.appname.com vs subdirectory (appname.com/customerx/) models for > instances of individual customers' accounts. > > It seems most people are opting for the former -- is this but a trebd? -- > but I see flickr use the latter. The guys at Particletree (i.e., Wufoo) > wrote a blog post about it ( > http://particletree.com/notebook/subdomains-development-sucks/) years ago to > which they still attest. > > They say the subdirectory model is much easier and faster to develop and > deploy. We are developing locally on our macs and will be using > Mecurial/Bitbucket for CVS. > > I'm really lost on this issue as all my searches turn up stuff on SEO/SEM. > Is one approach easier that the other? What about security and scalability > considerations? I would very much appreciate your opinions as to the pros > and cons of each approach. > > As an aside, does anyone have some advice about rapid PHP deployment, i.e., > pushing new features to production daily in micro iterations vs the typical > milestone approach? Are there any good tools for this? What about hosts? > > Thanks all, > > Tim If you're new to PHP, I would recommend not using a framework for the experience you will gain with the language, as a framework will tend to hide away certain caveats and peculiarities of PHP which could lead to issues further down the line. Most people I know who are great PHP programmers have tended to start without frameworks at first. Having said that, if you're looking for a rapid deployment with a shorter learning curve, then a framework might be better in this situation. Thanks, Ash http://www.ashleysheridan.co.uk
From: Paul M Foster on 25 Aug 2010 15:34 On Wed, Aug 25, 2010 at 01:45:33PM -0500, Tim Martens wrote: > Hi Everyone, > > New to the list. Hello! > > I'm in the customer discovery phase for a Health IT web application concept > I have. My programmer is new to web apps, but not to programming and is set > up with LAM(PHP). We're still debating weather to use a framework or to go > with Rasmus's "no framework framework" approach. > > Language/Framework decisions aside... my main question is about subdomain ( > customerx.appname.com vs subdirectory (appname.com/customerx/) models for > instances of individual customers' accounts. > > It seems most people are opting for the former -- is this but a trebd? -- > but I see flickr use the latter. The guys at Particletree (i.e., Wufoo) > wrote a blog post about it ( > http://particletree.com/notebook/subdomains-development-sucks/) years ago to > which they still attest. > > They say the subdirectory model is much easier and faster to develop and > deploy. We are developing locally on our macs and will be using > Mecurial/Bitbucket for CVS. Use subdirs. If I'm not mistaken, subdomains require web server tweaking that may be beyond your team's expertise. What you're seeing as subdirectories doesn't necessarily strictly represent actual subdirectories on disk. URLs using subdirectories can be (and often are) simply devices to make URLs look "prettier". In fact, with some simple web server tweaking (emphasis on simple), your application can map URLs like that to what's actually going on, like: appname.com/whosinsured/customerx => appname.com/index.php?func=whosinsured&custno=customerx > > I'm really lost on this issue as all my searches turn up stuff on SEO/SEM. > Is one approach easier that the other? What about security and scalability > considerations? I would very much appreciate your opinions as to the pros > and cons of each approach. I believe this is a red herring. I'm not an expert on SEO, but I believe it works, at its base, simply by HTTP calls to a web server. If the URL is stable and cacheable, then I believe it should suffer no penalty with regard to SEO, no matter how you craft your URLs. Here's where that wouldn't be the case-- if a page has a URL which contains a random or similar "key". For example, when subscribing to a list which runs on the "mailman" package, you are emailed a link which contains some long alphanumeric key on the end. You go to that URL to confirm your wish to join the list. But the link is temporary and expires after a period of time. That type of thing wouldn't work well in an SEO environment. I've read arguments pro and con for what kinds of URLs are SEO-friendly, but I've never seen a search engine make any definitive statement about them. From what I've read, Google doesn't seem to care. > > As an aside, does anyone have some advice about rapid PHP deployment, i.e., > pushing new features to production daily in micro iterations vs the typical > milestone approach? Are there any good tools for this? What about hosts? Another issue where the development community is divided. Here's my take on this. It takes a lot of effort to release a new version of a product. Your sources have to be pristine, you have to double-check your builds, you have to compensate for changes in the development environment which may not be echoed on user machines, etc. etc. Moreover, you mustn't dare release a publicly available version of your product without full testing. And if you're doing incremental releases, that means your testers have to test your full product every time a new revision comes down, which can be daily or less. It's a lot of work. Despite the debate on this, I think you'll find most publicly available software is released based on milestones. Paul -- Paul M. Foster
From: Paul M Foster on 25 Aug 2010 15:42 On Wed, Aug 25, 2010 at 01:45:33PM -0500, Tim Martens wrote: > Hi Everyone, > > New to the list. Hello! > > I'm in the customer discovery phase for a Health IT web application concept > I have. My programmer is new to web apps, but not to programming and is set > up with LAM(PHP). We're still debating weather to use a framework or to go > with Rasmus's "no framework framework" approach. I have to echo Steven's comments. A framework makes certain things easier. However, with a n00b programmer, it may well prevent them from digging deeply into the language, because much of the work is done for them by the framework. And Steven's right-- I've found with every single framework I've ever used (going way back to my C language days), the framework ultimately got in my way, to some extent or another. I end up having to code around what the framework's doing to get done what I want. Again, frameworks aren't bad. I use one. I use it because it's one I wrote and suits my needs without getting in my way. I've tried to use it in other environments, and it doesn't always work well in those environments. But it works for the environment in which I code. Paul -- Paul M. Foster
From: David McGlone on 25 Aug 2010 22:10 On Wed, 2010-08-25 at 21:01 +0200, Peter Lind wrote: > On 25 August 2010 20:54, Ashley Sheridan <ash(a)ashleysheridan.co.uk> wrote: > > On Wed, 2010-08-25 at 13:45 -0500, Tim Martens wrote: > > > > If you're new to PHP, I would recommend not using a framework for the > > experience you will gain with the language, as a framework will tend to > > hide away certain caveats and peculiarities of PHP which could lead to > > issues further down the line. Most people I know who are great PHP > > programmers have tended to start without frameworks at first. > > > > Having said that, if you're looking for a rapid deployment with a > > shorter learning curve, then a framework might be better in this > > situation. > > > > You could also argue that using a framework is more likely to promote > good habits, as there's a bigger chance you'll be forced down good > paths. +1 -- Blessings, David M.
From: tedd on 26 Aug 2010 09:41 At 1:45 PM -0500 8/25/10, Tim Martens wrote: >Hi Everyone, > >New to the list. Hello! > >I'm in the customer discovery phase for a Health IT web application concept >I have. My programmer is new to web apps, but not to programming and is set >up with LAM(PHP). We're still debating weather to use a framework or to go >with Rasmus's "no framework framework" approach. > >Language/Framework decisions aside... my main question is about subdomain ( >customerx.appname.com vs subdirectory (appname.com/customerx/) models for >instances of individual customers' accounts. > >It seems most people are opting for the former -- is this but a trebd? -- >but I see flickr use the latter. The guys at Particletree (i.e., Wufoo) >wrote a blog post about it ( >http://particletree.com/notebook/subdomains-development-sucks/) years ago to >which they still attest. > >They say the subdirectory model is much easier and faster to develop and >deploy. We are developing locally on our macs and will be using >Mecurial/Bitbucket for CVS. > >I'm really lost on this issue as all my searches turn up stuff on SEO/SEM. >Is one approach easier that the other? What about security and scalability >considerations? I would very much appreciate your opinions as to the pros >and cons of each approach. > >As an aside, does anyone have some advice about rapid PHP deployment, i.e., >pushing new features to production daily in micro iterations vs the typical >milestone approach? Are there any good tools for this? What about hosts? > >Thanks all, > >Tim Tim: My recommendations: 1. No framework. Learn one thing, namely what you want to do and not two (i.e., "what you want to do" and a "framework"). I did not know that Rasmus said that, but I listen to what he says. 2. Use directories. They are much simpler to use and easy to create/change/delete/scale/make-secure. -- SEO stuff does not apply here. 3. Investigate "Agile" development. 4. Host? Roll the dice like the rest of us. Cheers, tedd -- ------- http://sperling.com/
|
Next
|
Last
Pages: 1 2 Prev: Web application architecture (subdomain vs. sub directory) Next: XML with PHP |