How to create owner/server for booking app - server

Guys really need your help I’m a beginner and don’t have any idea on how to create a owner or server for my project (photography booking app) I already started to create a client apps to make a log in or create a request/ book.. but how can I make a server or owner app who can see the request from client app. Can you please give me a tips or instruction not only on how to do it but the most is to understand how it really works Thanks in advance .

You've not really provided much info to go off (for example, what if any languages you're already comfortable using). There's probably too much to cover to explain here.
That said, for creating a backend, I personally found Flask pretty light and simple to get started with. There's also a really excellent tutorial series on it here: https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-v-user-logins
Maybe start here?

Related

Which web development framework should I learn in 2020?

There are so many web frameworks out there and I don't know which one I should really focus on. I know a bit of flask and ReactJS, but not enough to be an expert.
No one would give you the correct answer to that, because everyone has specific needs, I really doubt the part where you said that you know react and flask, because, if you do, you wouldn't be looking for another framework to jump on since you said that you arent good wuth them.
Now, i would suggest that you learn Javascript very well, then move to a framework. it would also help to check out this article Javascript

How to create a controller and display in browser in zend?

i am new in zend framework. Please help me to create controller and how navigate in browser.
Not the best question, because it shows you haven't searched much. Let's search together:
framework.zend.com
StackOverflow
StackOverflow again
StackOverflow 3
So either search better or please try to explain your need with more details and show what you have already done.
Yeah, this is pretty vague.
I'm assuming that you have some experience with computers, computer programming, the Linux operating system, and developing for the web. Object oriented programming principles, as well as some awareness of php itself are also going to be very helpful.
Do you have an environment to work from? A webserver that's capable of running php? You'll need that, as a bare minimum first. Luckily we live in the days when it's easy to set up virtual environments for that. Try puphpet. It's awesome. While you're at it, make sure you get MySQL, as you'll need it for many of the tutorials provided by Zend (and others).
https://puphpet.com/
Have you downloaded the framework?
If you use the zf tool to create a project, as described in the link below, you'll have a basic application that includes a Controller and that you should be able to browse to.
http://framework.zend.com/manual/1.12/en/learning.quickstart.create-project.html
That should be enough to get you going.

Vines for XMPP Server rather than other solutions

I am new to xmpp and all that implies. I'm a RoR Developer and I need to use a xmpp server for a project. On top of that, I will need to do some heavy customization so that my rails app can create users, make them friends, track all communication, etc.
Being a ruby developer, and someone who likes nice (looking) things, I REALLY want to use vines for the xmpp server. It's in ruby, it's friendly, I like it: http://www.getvines.org/
But, other things like ejabberd, Tigase, etc have much more reputation, and I guess they have a better community. I'm guessing this because finding tutorials seems far too difficult.
So I'm looking for someone to tell me why Vines is not a good solution for XMPP, and what I should use instead. Because otherwise, I'm opting to use Vines =)
Thanks!
For anyone reading this later, I've learned a good bit today about vines.
Firstly, it seems the entire thing was made by one developer, who has since started fulltime jobs for twitter then github. So there is not likely to be new features or updates coming to vines.
Second, is there is virtually no community build around vines. It's very hard to troubleshoot issues.
Hope this info helps others!

Advices on server implementation for server/client structure iOS App development?

There are must be a lot of apps that are designed to communicate with server. My question is only about App installed on iOS device + Server side service interaction. Web app is not what I am talking about, and there should be no webpage involved in this discussion at all. Typical examples are Apps like Instagram and Twitter, in which most of the information exchanged between the App and the server is just data like String, Image and Integers(wrapped in JSON or XML), no webpage presentation needed.
My question will be: if you are an independent app developer, and you are designing such an app from scratch without any existing website API, database structure or application(so you are not limited by any existing API or database structure or application protocol), What will be the most efficient approach?
What the sever side need to do are:
receive data send by the App;
process the data with designed logic;
interact with database(like MySQL);
do necessary data mining and analysis---this could be a constantly running service or one time task requested by the App client;
send the data back to the App upon request or spontaneously;
exchange or broadcast the data between/among different App clients (i.e.: group chatroom and peer to peer message);
As far I as know there are 3 obvious options to implement the server side:
PHP
Python
Ruby on Rails
(please feel free to add more options)
My questions are:
which one is the most appropriate choice to implement the server side?
If the App is focusing intensively on natural human language/text searching, analyzing and data mining, which one is the best choice? I heard Python is doing pretty good in this area.
Any advice on the database choices? I am using MySQL for now, and I found it's quite powerful for my purposes, I heard Twitter is switching to Cassandra. Will that be too difficult to start with?
For the server end, if you need to build a Server management interface, for you as an admin to manage and monitor the community, membership, data and such, is there any existing solution, or framework or tool for that? what will be the most efficient approach?
If a new programmer has no experience in non of them, which one you suggest he/she to start with?
Is there any good reference material or sample code on the server side in such context we can learn from?
I know there are a lot of very experienced experts on these areas on Stackoverflow, but I saw more newbies who just entered the iOS developing area without much knowledge in server/database programming experience. And I hope this thread can help these who are thinking to design an App with server/client structure but have no idea where to start with.
ps: I will keep updating this question thread and adding my findings on this topic, to help all other users at stackoverflow. :-) Please try to make your answer informative, easy to understand, and constructive. I guess most of readers for this thread will be new members of this great community.
Are you sure you want to spend time & money to develop your own Server & develop your own API?
There are lots of mBaaS (mobile Backend as a Service) providers today such QuickBlox, Parse,StackMob, which are ready to use and they have great Custom Objects API and some of predefined modules. They have great free plans with big quota. Some of them such QuickBlox has Enterprise plan - so you can buy license and they server team update server for you purpose.
So, i recommend not develop your server and think about mBaaS market.
Just about your issue - I can recommend look at QuickBlox Custom Objects code sample and also Custom Objects API. Custom Objects module provides flexibility to define any data structure(schema) you need. Schema is defined in Administration Panel. The schema is called Class and contains field names and their type. I think it's what you need.
which one is the most appropriate choice to implement the server
side?
Well that depends on what you know, there is reason to choice one of the other
If the App is focusing intensively on natural human language/text
searching, analyzing and data mining, which one is the best choice? I
heard Python is doing pretty good in this area.
This would reflect on your first question, you pick the language on you needs. Thus if python makes it easier then pick that one.
Any advice on the database choices? I am using MySQL for now, and I
found it's quite powerful for my purposes, I heard Twitter is
switching to Cassandra. Will that be too difficult to start with?
Again not one that is easy to answer, since it all has to do with requirements. But any SQL server will do. Cassandra is meant for "scalability and high availability without compromising performance" accourding to there website. Do you think you webservice will get many request then it might be a choice to consider.
For the server end, if you need to build a Server management
interface, for you as an admin to manage and monitor the community,
membership, data and such, is there any existing solution, or
framework or tool for that? what will be the most efficient approach?
This again is only going to be answered when you pick the a SQL server and server language.
If a new programmer has no experience in non of them, which one you
suggest he/she to start with?
Start with something simpler, you are really going out on a limb here.
Is there any good reference material or sample code on the server
side in such context we can learn from?
Propably there is some, but you should really start small and work from there.
Twitter started out as a Rub on Rails app and is working on scalability and availability which ruby is not really good ar (that is my person opinion). or Look at facebook they have written a php to c compiler to make php run faster.
The only thing I can say to start code, when you app does take off then tackle the some of the performance issues.
And since you state that you are new to programming do not bite of more then you can chew.
This is a huge question and I don't think there is a best answer. It most depends on what you care about, such as how quickly the development process, how easily the implementation, etc.
And which one is popular, which one is cool, I don't think it make really sense.
In my personal opinion, I'm good at ASP.NET and I can get Windows server easily, so I'll start with an ASP.NET service to provides data.
And, to be continued.

iPhone Application logic

I need to develop a client application for a site that host and show images.
The client should shows all new images and take a picture and send to website.
I'm a newbie to iOS programming so this question:
In an application alike this, there's the need to create a Model? I ask this question because I think I can do anything with Controllers but maybe I'm wrong.
While there is never a "need" to create a model, it's good form to do so, and it'll likely save you many headaches down the road. Ultimately, you're going to need to deal with images and websites and how they interact with each other and whatnot, so you might as well do it in models from the outset.
I'm as guilty as anyone for wanting to see immediate results and hack together something quickly, but I always regret it later on, and have to spend more time than I'd expected refactoring it into something usable.
The MVC pattern as used in Mac OS and iOS applications isn't something best explained in an answer box but here's a link to some simple documentation about the roles of Models, Views and Controllers
Some good basic introductions to start with, which also have relevant links to the next stage of documentation are:
Cocoa Core Competencies
Cocoa Application Competencies for iOS
Read these excellent articles first. You'll learn better and faster if you do some basic reading.