Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am starting to build an E learning platform, Application will be expected to cater whole amount of user , there would be some automated jobs, and the vast range of learning material to be stored on server. moreover i will also be dealing with APIs & third party Library.
I am a bit confuse in selection of framework, to build, with having two different Options i.e. PHP Laravel & ASP.NET MVC. I also had research on internet regarding the pros and cons of Both but the major Criteria are :
Performance
License. (Open Source or PAID)
flexibility (easily maintainable)
-
Would Laravel make a better choice given the nature of our workflow in the circumstances?
Thanks in Advance
I think that this is not the correct question. PHP and ASP.NET provide good performance and can be flexible. It is depend on you when selecting. Good code can cover any issue. Focus on your programing techniques and developing your code will result in good outcome regardless of the framework you use.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have to maintain a website written in PHP running on version 5.3.22, smarty 2.6.19. The whole site is divided into two dependent subsites (one for the world and second one as CMS site for admin).
The company which developed this solution took the easy way out, just delivering already built product after few modifications. I'm on my way to merging everything into one suited piece.
My question is: is it worth to merge everything to native PHP, leaving Smarty convention, deliberately not using any of modern framework etc.? Is it worth to keep developing my own class for generating HTML (eg. createTag('th',attributes,value))? What are the benefits of using newest versions of PHP, Smarty and so on?
It is recommend to update software whenever there is an update available. The same goes for php, smarty and so on but whenever updating php, smarty or any other programming / scripting language have in mind you possibly have to refactor sourcecode - think twice.
Template engines such as smarty are very useful as they strictly divide business logic and the view.
The third point you mentioned are frameworks. As Kvothe mentioned already "Don't reinvent the wheel". That's why a lot of php frameworks exists in the www. Each has it advantages and disadvantages - I recommend to test some and choose the one you like most.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm a beginner web developer knows both PHP and JSP coding formats
I found lots pages on internet the all told that PHP is less secure than JSP.
but they all almost are old pages may be updated 2-3 years ago. Here I'm referring some forum links
Is JSP a good alternative to PHP [closed]
ASP - PHP - JSP ... which is better?
Now as every year new version PHP are releasing with lots of new features Like OOP, PHP Filters etc.
My question is that is PHP still less secure than JSP? if yes, than i want to know that what facts that makes PHP less secure than JSP. Please explain with examples if possible.
According to my opinion, It's the developer(means developer's code) who's responsible for security.
But i still want to know other programmers opinions
Any Help is appreciated
"According to my opinion, It's the developer(means developer's code) who's responsible for security"
Smart programming languages add up more layers which most of the time is in price of performance. Much of security on web applications is checking client input (uploaded file, form entries, URL...) to be same as expected. Smart languages do much of the work automatically. Also they have built-in security schemes which are prone to bug if you write them yourself.
I believe security is not the main concern for selecting the platform but should be considered besides performance, budget, maintenance...
Note: Security is not just about web application programming, you may get hacked from upper layers like other applications on the same web server, at operating system level...
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I am new to web development. I wanted to know what DB will be best suited for PHP for a requirement of Web Application. Till date i have worked with Oracle database and have found it bit slow for applications which need quick response time.
I was looking into MongoDB and MySQL and couldn't decide which to pick.
Please suggest which will be the best option also if any other option will be better suited.
Thanks in advance.
I am new to web development. I wanted to know what DB will be best
suited for PHP for a requirement of Web Application. Till date i have
worked with Oracle database and have found it bit slow for
applications which need quick response time.
The answer is quite subjective as there are lot of factors need to be considered before jumping to a conclusion. I will lead you to good articles which can add some points in taking a decision.
http://www.mysqlperformanceblog.com/2013/10/22/designing-one-many-relations-mongodb-vs-mysql/
mongoDB vs mySQL -- why one is better than another in some aspects
MySQL vs MongoDB 1000 reads
There is nothing called best, every technology has its own pros and cons. It all depends upon what you are comfortable in working with. I would choose PHP/Java with MySQL anytime ahead of DOT NET with Sql Sever, just because i know the former well than latter.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I want to know from a technical view if there is any profit of using E-commerce PHP
frameworks instead of hard coding every single detail in the website.
I see everybuddy talk about using those but is there any real profit (not just because it is more easy it should be done no ?) for now i have a project of a commercial site and i have build-ed from scratch the search engine and the navigation system and some other few things any help please (NO VOTE DOwn PLEASE if this is a bad question one comment and it will vanish).
the good things in E-commerce PHP frameworks is that they are well documented, easy to install, full functionality, less to work as updates and upgrades most of the time.
if you want to build one from scrach you should take a note that it could last several months (depends on the size of the project) and you will never know what bugs you have ... as the only person who knows the backend is you.
there is a profit ... since a new one from scrach takes a lot of time and testing ... and time=money ...
Why don't you test, most of them give out demos and there are a lot of them that are open source ...
e-commerce is more of a pain in the ass than you think at first. you have to make a large order form and build validation and sanitation scripts and spend a lot of time making the layout not look like scrap, encryption and SSL integration and then after all that it needs an admin with way too much to account for. i've done this and ... never again.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm mostly a Rails developer but sometimes, I have to code in PHP. Because stackoverflow.com prefers questions that can be answered, I'd like to have a idea which one of the two is closest to PHP?
Sometimes, I'm under the impression that CakePHP is a outdated copy of Rails that wants to look like Ruby but fails at it and thus leaving the best of PHP behind.
there are loads of questions dealing with the php framework issue.
for example:
php-framework-decision-analysis-paralysis
what-php-framework-would-you-choose-for-a-new-application-and-why
which-php-framework-is-closest-to-ruby-on-rails-cakephp-codeigniter
I don't think this question will bring anything new to light.
besides I think the framework of choice is more and more Zend Framework (IMHO).
How would you define closeness?
All frameworks are written in 100% PHP, non of them could be any closer to PHP. They are PHP.
I like symfony because it doesn't have PHP4 compatibility as a business goal. This lets the framework ditch some of the cruft and limitations of PHP4 and leverages the much stronger OOP in PHP5.