I’ll try to make a website in 5 languages that two of them is LTR and others is RTL, I wanna all of them work on the same content database, I used WordPress Network sites, but only users table is shared among all sites on the network, I wanna make all tables share into all sites on the network.
Related
I create a homepage with a download center for PDFs.
Is it better to store it in the frontend or in the backend or is this irrelevant ?
Edit for the comment:
-> it will be a website planned for 3.000 user per month
-> not sure what PWA is, but the page gets a responsive design for computer and smartphones
-> the PDFs should be accessible for everyone, like a manual or a sample of contracts
Given that information needs to be accessible to different users I would say that it has to be stored in a server and managed by the backend, which would be equivalent to saying "It should be in the backend" on your own terms. This is the simple answer, but as far as I can see, two questions arise here:
How to store the data
Once established that the data resides on the backend part of the system you would have to choose between having the PDFs stored in the file system and the backend serving files statically or having the PDFs stored as BLOBS in the database. Both have their advantages and drawbacks, more information here.
Should it be accessible offline
If the user needs to access some information while offline then you would have to store those PDFs on his device. Another reason to do that would be if the PDFs are very large and they don't change that often but they could be fetched by an user multiple times in a day and you don't want to have the backend busy serving the same file everytime.
I am using WordPress Platform for my website.And its growing constantly.
We often ,do lots of experiments and customization on it.
Now we like to use a developer website to do all these experiments.Thing is i like to use the same settings and everything for my developer site,so everything should match the live website.
My problem is,i can setup the whole new mirror site ,but since we will have different database for our test site,the posts won't be updated to it,when its published on live site.
So is there a way,i can use my post table of live site on developer site.
i.e everything will be of its own on developer site,but it will fetch posts from live site.
I am developing a web site with drupal that has lot of instances. My case is
Every site same structure but different content. Websites made by drupal multisite conf. Same codebase, different database.
Only me user 1 every sites. Client is owner of the site, only add and view contents of their website.
The problem is I will keep developing web site and change structure and configurations. For example new or updated content types, new fields, new or updated views, rules etc. When I updated 1 sample web site, what is the best approach update all current websites?
Is it possible managing views, contetnt types, field, rules, enabled modules on one site. By the time maybe over 1000 website will added to system. and it is hard to update 1 by 1 features modules. (Also features modules doesnt carry some confs.)
I feel very out of my depth with this query, but not being able to do it isn't really an option so I am going to have to learn how one way or another.
I have been tasked with building an application / database for a Chauffeur company. I have done similar things before in Microsoft Access for other customers, hence getting this request, but this customer wants to be able to run the app on their Mac, and not install Windows. My only real experience of coding is HTML/CSS and some VBA when using Microsoft Access. For these Access DBs I have created separate front and back end files to allow multi user access and also remote access (the back end file being kept on the company server).
So onto my query (apologies for dragging it out)...
I need to be able to build something that the single user can open and run on his Mac, so he can view, add, change jobs and their details. He also needs to have the same access on his iPad, although purely viewing would suffice.
As regards the web access, basically he wants to be able to go onto his "Booking System" application, go to "New Job" and send a link to his client, where they would click the link in a browser, fill in the details (Name, Contact Number, collection and drop off addresses, collection date and time etc...) and when they submit this form the details be updated on his booking system.
My issue is I do not really know where to start. I just need some pointers as to where to get started. Is it an issue of building a MySQL database back end and then hosting this somewhere and linking different front ends to it etc...
Yes, with multiple clients, the web is your best answer. For the cheapest hosting route, you can find good, inexpensive PHP and MySQL hosting that will provide what you need. You can design the front end with HTML/CSS, use PHP to develop the logic and data access, and use MySQL to host the data.
The Mac and iPad can access the application via the web URL--you will not be building an iOS app, rather the user will access the web site through a web browser. You can use some pretty neat tools like jQuery UI Mobile to create an app-like experience, but if you need to support multiple clients on a small budget, an iOS app and separate web site is not the way to go.
Make sure you have some PHP expertise available or figure this part out. There are tons of great resources on the web to get started. Good luck!
my problem's a bit complicated. basically i created a client/server CMS architecture that worked very well for a while. now that there are more customers, it's getting very slow and i don't really know how to fix it.
let me explain you the current architecture:
i've developed a content management system to serve various different customers. there's a cms server where each customer has an account to manage the content of his or her website. all customers work on the same interface and store the content in the same database on the cms server. so, for every new customer, i just have to open up a new account on the cms server and they can start managing their content.
to display that content, i have to create a customized website for each customer. that website frontend can run on one of my servers or the customer can host it himself. this frontend now has to connect to the cms server to fetch the content.
on the cms server, there's a php file called "share.php". it allows you to add some parameters such as 'content_ID' to specify the content. the php file then displays that content in JSON format.
on the frontend, i use file_get_contents("{cms_server}/share.php?content_ID=34"); to retrieve the data from the cms server.
as i said, it worked very well for some time when there were few customers using that system. now however a page load lasts at least a few seconds and it's getting worse.
do i just need to increase performance on the cms server or does the concept of retrieving data with file_get_contents(); just suck big time? :D
i appreciate your recommendations of how to fix that problem.
cheers.
Probably you need to look at your database: do you need to add indexes? Are you making redundant calls? Are you making many small SELECTs which could be made into one big one? And so forth.