REST-Centric web dashboard in PHP [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm planning to build a REST-Centric web dashboard in PHP. Without connecting to the databases directly. All data 100% comes in and goes out through REST calls alone. I've gone through few framework for writing API like slim, silex, Wave and Lumen, gonna pick one form this (for Azure & MSSQL), My concern is whether developing the Dashboard in Angular or some other js & pure HTML will have any security issue or is it safe to go with Server-side scripts for dashboard too?

Interesting question, I'm doing research for a similar project and this is what I have so far:
All the opensource out there don't fill 100% the needs I have for the project so I can't use them (ie: not mobile ready or not tv ready or poor browser support)
Because of the above, I will need to build a custom solution:
server side: Lumen framework for the log in and for securing+processing all the dashboard requests
client side: I will use a angular.js + dashboard template (from envato or from strapui). You can also do it with jQuery.
I hope it helps

Related

Is there a way to program an Android or iOS app with php? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I have been a php developer for a long time and very comfortable making web applications with it. I want to try to make an app for android and I phones. But it's just for fun, and I am not sure I have enough time to learn a new language right now. I could create this app in php in a short day if it were possible and would prefer not to go through the traditional learning curve of trying to figuring out sonething new. Is there a way to create an app that would just run something similar to an iframe that would then just pull all the functionality from a website?
you can create a web viewer application. First create a website, host it and just implement that site URL into your android or IOS app. it's just a few lines of code so you don't have to learn from scratch to make the whole app.
follow this link...
https://youtu.be/A8sSRQ5mVqY
you can use react native instead of implement native android or iOS.

How to SSR vue 3 in php? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I want to know how to server side render vue 3 code inside laravel 8 (with webpack) project.
All info I managed to get was on vue 2.5 like how to do it with v8 and other plugins like here https://github.com/spatie/laravel-server-side-rendering/issues/83
The real answer to your question is that if you want to do SSR using vanilla PHP or Laravel, you would use your controller to modify the base file (like what may be your current index.html file) prior to the user receiving it. This isn't recommended and complicates things a bit. If you're using vanilla Laravel or PHP, you shouldn't need to do this anyway since blade files are already rendered by the server natively.
If you're making a SPA or web app and not using blade files, your SSR now has nothing to do with PHP and everything to do with your JS framework.
Vue.js has a tutorial on how to do SSR here:
https://v2.vuejs.org/v2/guide/ssr.html
And I found an example package here:
https://github.com/acoshift/vuejs-ssr-example
And if you're interested in switching to React, Nextjs handles this out of the gates with zero setup:
https://nextjs.org/
It plays nicely with Laravel Sanctum and there's packages available to handle that quickly as well.

Coding mobile app with no experience but using porting [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I've never tried to develop a mobile app before but I've read that there are frameworks for converting web apps (which are coded in AngularJS, PHP, etc.) and turning them into a mobile app. I thought this would be the easiest way to develop one (I'm really not looking for quality, just a quick way to hack something up, I'll later study Objective C and Android Studio, etc.), as I have lots of experience in AngularJS and PHP and web development, but practically zero experience in mobile app development.
I've looked at ionic and PhoneGap and was inquiring on people's experience with them and what approach I should take based on my skillset?
When you already got some experience with PHP than you should take a look at Zend Studio. It allows developers to use PHP to develop mobile applications. See the following links: Info and here is a Tutorial

SAML Authentication Portal [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'd like to develop a portal similar to what a company like OneLogin (http://www.onelogin.com/) has: The user would login with their login credentials then have links to the web resources that their account is associated with. When they see their resources all they need to do is click on them and they'll be automatically login in (SAML authentication).
Are there any open source projects out there that have started on this effort? It would be great if there was something that we could use as a base to build on top of with a friendly license (e.g. MIT).
Thanks
You tagged it "php" but that doesn't appear in your question?
Essentially, you need a client-side SAML stack.
I've listed all the ones I know about here:
SAML : A SAML stack .
In terms of php, have a look at simplesamlPHP.
That has all the plumbing you'll need and it's open source.
If you want it developed with Symfony2 PHP framework you could check SamlSPBundle or its foundation stand-alone library lightsaml

Receive Email using PHP [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Does PHP have any classes to receive email? Do you know of any good resources about this?
Try php-imap library. It's very popular and stable.
I had this question too and I wanted to get emails in real time so I worked out my own solution with google app engine. I basically made a small dedicated google app engine app to receive and POST emails to my main site.
You can check out Emailization (a little weekend project I did to do it for you), or you this small GAE app that should do the trick.
I kinda explained it more on another question.
Hope that helps!
If you want to receive e-mail in real-time(COOL? but have to use .appspot domain. You could off course also forward it to the .appspot domain) I would advise you to have a look at google app engine which is free to use(generous quota). You could forward the email it your webserver using asynchronous request which in turn let's you do all the cool stuf you would like it to do in PHP.
Python is pretty easy to learn especially after watching this video from Brett Slatkin explaining how to "Developing and deploying an application on Google App Engine" and the snippets in the google app engine documentation should get you started in no time.

Categories