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
So I am new to unit testing. I'm through a book and couple of tutorials but I still have some doubts about the exact proper implementation.
I am searching for a well written unit test, because the sample examples that are based on the relationship of 2 or 3 classes cannot answer my remaining questions. I'd like to see some real world scenarios of proper coding that ensure long-term maintainability. The bigger the project the better. Does somebody have a well written test, or does somebody know a well written test that's available somewhere on the web? Thanks for help!
You may use Github to browse sources of various popular open source projects like Joomla.
Here is the link to Joomla CMS https://github.com/joomla/joomla-cms and here is the link to Joomla Framework https://github.com/joomla/joomla-framework.
Mentioned Joomla because it is my favorite; especially Joomla Framework. You may also try others like CakePHP, Code Igniter etc.
Just browse through most of well known open source projects on Github.
Doctrine
Zend
PHPExcel
To name but a few.
Related
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 5 years ago.
Improve this question
I am a PHP developer and I want to increase my knowledge. So I am trying to understand some online scripts. I see some folders named ( Zend, Symfony.. etc ) and I read about code igniter.
However, I still didn't understand anything of what I want to know.
What is and when to use each of them?
What are the features they provide?
With which should I start with?
Codeigniter, CakePHP, Laravel, Zend and Symfony frameworks
I know this may be a duplicate question but I really need a complete answer that I really did not find.
Thanks :)
I think that you should start from learning MVC pattern that is used in all of mentioned frameworks, if you're not already know what it is.
The next thing are requirements - what you need or what you expect from framework? There are some things that frameworks cannot do. You can check and compare what each framework can or cannot do for you. Note every part that you discovered.
Some frameworks are easy to start, others need advanced knowledge. Check the examples in docs.
Next step could be your own testing to code something.
This is really too general question, that was asked and answered many times not only here (at stackoverflow), but at many other websites too. Just add some important keywords and search. All in your hands.
They are php frameworks
https://laravel.com/docs/5.5
https://www.codeigniter.com/
Just google tutorials for (one of the frameworks) and work your way through them. There are plenty of resources out there.
I would start with codeigniter first since the learning curve is less steep
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 8 years ago.
Improve this question
I am working on a news paper website which has epaper facility. I am developing it in php.
Is there any script or something else where I can learn how to make an epaper site.
I want solution like this http://epaper.timesofindia.com/Default/Client.asp?Daily=TOIM&showST=true&login=default&pub=TOI&Enter=true&Skin=TOINEW&AW=1333084145015
Please help me out..
ePaper in your context is a web app developed by Pressmart, and it appears to be proprietary, or at the very least not developer-friendly. So I highly doubt there have been advances in PHP libraries for it.
I'm sure as a partner, they have internal documentation and tech support that you can request more information from. They may even have a web API with PHP examples (I've seen worse companies that knew they had to keep up).
This is all info I've gathered in the last 7 minutes, so there may be more out there. But you should always reach out to the developer support of the product if they don't have easy access to documentation, as this is a sure-sign that there is not a large population of developers in the general community that will know what you're talking about, let along give insight.
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 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 planning on building a private API for a CodeIgniter web application I have. I've found a tutorial for that which shows me how to do it using pre-built libraries.
I'm very new to this so my questions is: shall I use and rely on these libraries? or shall I learn how to build it from scratch in order to have complete control over it? also, do you have any tips of someone like me who's just getting started with APIs?
Of course it's up to you but I would really suggest using my libraries. The code has already been tried and tested by several large public web-apps and I recently added in key management, logging and request throttling.
Months of coding has gone into those libraries and they have been used to death, so it will be way easier that writing your own.
Just have a look through the code as you go so you understand how everything works. It's pretty flexible and getting more flexible as it goes.
When I decided that I was going to write an API, I was still in the early stages of learning CodeIgnitor so I didn't use it for developing the API. I think even now, I would probably still go the route of writing it all myself and not use a framework. This is mainly because I like to keep things as slim as possible and I feel that is more likely to happen without using a framework.
To get me started, I found this tutorial to be really helpful.
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 4 years ago.
Improve this question
I am not trying to create yet another web framework.
For one of the applications I am working on, I want to create a custom framework. I don't want to use any already available framework.
What are the common things to consider?
What should be the architecture?
Thanks :)
If the point of a framework is to make tedious things easy, a good start would be to consider what is tedious.
What are the common things to consider?
Purpose. Usually, when you start building a piece of software, you have a purpose in mind. What will it do that other programs can't?
If you can't answer that question, then take any existing open source framework, change its name and your job is done. Now you have your own framework.
Well if you are going to write a custom framework then I assume the framework needs to be tailored to your needs, otherwise you would use one that is already available. So figure out what your needs are and go from there ;)
What are the most often repeated operations in your application? Is there a division of labor that a framework could make more apparent?